Multiple choice

Find out the output of the given program or error if any.

Int main()
{   
printf(Hello from main,);     
int inside()   
{      
printf(inside,);        
int deepinside()      
{        
printf(and deepinside function\\n);      
}     
}
}

  1. Hello from main, inside, and deepinside function

  2. Hello from main, inside

  3. Hello from main, and deepinside function, inside

  4. Error in the program

  5. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

There will be a compile time error in the program. Definition of a function is not allowed inside body of any other function in Standard C.If you are using gcc compiler, then program compiles.So this is the correct answer.