What is nested function?
When one function is called inside the other, it is called a nested function. A nested function is a function defined another function. Result of one function is used as an argument to another function.
Example:int E(int x)
{
int F(int y)
{
return x + y;
}
return F(3);
}