Previous | Home | Next |
Nesting of Function using C
C permits nesting of two functions. There is no limit how deeply functions can be nested. Suppose a function abc can call function bca and function bca can call function cab and so on.
void f(void)
{
// Declare a function called g
void g(void);
// Call g
g();
}
// Definition of g
void g(void)
{
}
Previous | Home | Next |