C Programming MCQ

1:

The following loop 

   for ( putchar( 'c' ); putchar ( 'a' ); putchar ( ' r' )) 
   putchar ( 't' );


outputs

A.

a syntax error 

B.

cartrt

C.

catrat

D.

catratratratrat

 

Answer : D

Explanation :

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.