0

Why we cannot have functions like

int fun1( )
  {
       \\ statements;
        int fun2( )
            {
                \\ here we are defining a function in another function

            }
 }

So my question is that why the defination of fun2 is illegal?

OldSchool
  • 2,123
  • 4
  • 23
  • 45

0 Answers0