C Programming MCQ

1:

Consider the declaration 

static char hello[ ] = " hello " ;
The output of printf( " % s \ n ", hello) ;


will be the same as that of

A.

puts(" hello ");

B.

puts( hello );

C.

printf(" %s \ n", " hello ") ;

D.

puts( " hello \ n ") ;

 

Answer : C

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.