C Programming MCQ

1:

The following program

main()
{
printf ("tim");
main( ) ;
}

A.

is illegal

B.

keeps on printing tim

C.

prints tim once

D.

none of the above

 

Answer : B

Explanation :

This involves recursion - main ( ) calling itself. So, it keeps on printing tim.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.