answersLogoWhite

0


Best Answer

A function is not deigned in to another function. It is because that would lead to dependency injection.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why a function is not defined in to another function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you define a function inside a function?

No. Functions should be defined separately. So you would not define a function within a function. You can define one function, and while defining another function, you can call the first function from its code.


What is the user defined function section in C language?

There are no 'sections' in C source, you can define functions anywhere, except inside another function or variable/type definition.


What is a function statement?

A function statement is a block where the function is declared and defined.


If a function is equal to zero when x is zero is the function considered defined at that point?

Yes, if the function is equal to zero at x=0, the function is considered defined at that point. The function's value at x=0 does not impact its overall definition.


What can you say about the end behavior of the function f(x)- In (2x) plus 4?

You cannot because the function is not well-defined. There is no equality symbol, the function In(2x) is not defined.


Describe the defining characteristics of piecewise functions?

A piecewise defined function is a function which is defined symbolically using two or more formulas


What restrictions are there on the range of the function of H(w)?

That depends on how the function is defined.


What is functional statement?

A function statement is a block where the function is declared and defined.


If a function is defined by an equation explain how to find its domain.?

The set of all values of x, for which the equation is true is the domain of the function defined by that equation.


Can a C plus plus user defined function return a value?

Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.


How do you write rule for a function?

You can write them any way you like, as long as the basic definition of "function" is maintained. Basically, this means that the function must be defined uniquely defined for every input.


Suppose an external variable is defined outside of function A and accessed within the function Does it matter whether the external variable is defined before or after the function. Explain?

No the two work together REALLY