answersLogoWhite

0

A function can call other functions (or itself), but a function-definition cannot be nested in another function-definition:

int main (void)

{

void wont_compile (void) { puts ("Won't compile"); }

wont_compile ();

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the if function within the if function?

nested if


What is if function withan an if function call?

A nested function.


If Function within an If Function?

Its called nested if


Why doesn't C have nested functions?

Nested functions are used in some languages to enclose multiple functions and variables into a container so that individual function and variable are not seen from outside. In,C this can be done by putting such functions in a seperate source file.


What is an included IF function in which the action to be taken for the true or false case includes yet another IF function?

You insert the second IF function into the first one, creating what is called a nested If. Another IF can be put in the True or False part of an existing IF function. In as situation where there is a need for another IF when the first condition is true, the structure could then be something like this:=IF(condition, IF(condition, true, false), false))Note there are two brackets at the end, closing the two IF functions.


An If function within an if function in Excel is called what?

A nested if.


What is the nested formula of MS Excel?

A nested formula is where one or more functions are placed inside another function to make a formula. For example you can write a formula where you put an IF function within an IF function and this would be a nested formula.


Can include files be nested in c?

Yes, include files can be nested in C and C++. In fact, most library implementations do just that.


What is it called when one function is contained within another function?

nested


Can you have nested header files in C?

Yes.


What is nested class in c plus plus?

s.


What is the definition of parent function?

When a function is nested inside another function, the outer one is the parent, the inner is the child.


How do you do a nested formula in Excel?

The short answer is that you can not, but there is a solution that will work for you. You are not able to automatically insert data into a cell from another cell; that would be a push of data, which Excel does not do. However, Excel can pull data from a cell.Put your formula in a cell. Use A1 for this example.Write another formula in the target cell to reference the value of A1. Use B1 for this example.In B1, put the formula, =A1 to show the value of A1 in B1.****this is not going to work for my prob dude.. check out discussion tab for more about my question, please. Please, please... please. :) need more help..


Which term describes a function used as an argument for another function?

In Excel a function within another function would be called a nested function.


What are the disadvantages of function in C?

In comparison to Strawberry Cheesecake, the main disadvantage of a function in C is that you can't eat it. In comparison to a mature Brandy, the main disadvantage of a function in C is that you can neither smell nor drink it. In comparison to functions in some, but not many, other programming languages, one limitation of functions in C is that they may not be nested: In C, a function definition cannot contain another function definition. In comparison to some modern interpreted language, e.g. Python, one limitation of functions in C is that a function cannot generate another function.


What is the definition of 'nested' in C programming?

In C a structure within a structure is called nested. For example, you can embed a while loop in another while loop or for loop in a for loop or an if statement in another if statement.


In C which loop is embedded within another loop?

The nested loop.


What is nesting in C programming?

Nesting can be a very handy tool in C++, but should be avoided if possible.C++ gives us If statements, For loops and many other things. These can be nested. For example:A nested If statement://outer if statementIf( this is true ){//nested if statementif( this is also true ){//do something}else{//do something else}}


How the nested if function works?

Evaluate the innermost if function and calculate the corresponding "then". Use the result as input for the next innermost if function and so on until you get to the end.


A nested function is placed in the cell below the first formula true or false?

False. A nested function is a function within another function, so it would be in the same formula. An alternative to nesting would be to put a separate function in a different cell and use its result in the other formula. In that case it would not have to be put in the cell below the first formula.