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


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.


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 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.