C Programming MCQ

1:

The following program
main()
{
int abc();
abc ();
( *abc) (); 
}
int abc( )
{
printf ("come");
}

A.

results in a compilation error

B.

prints come come

C.

results in a run time

D.

prints come    come

 

Answer : B

Explanation :

The function abc can be invoked as abc( ) or ( *abc ) ( ). Both are two different ways of doing the same thing.

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.