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,053
  • 4
  • 20
  • 44

0 Answers0