C Programming MCQ

1:

The  following program fragment

    int m, n, b = m = n =8 ;
    char wer [80] ;
    sprintf ( wer, " %d%d%d ", m, n, b ) ;
    puts ( wer )
;

A.

prints the string 8 8 8

B.

prints the null string

C.

prints the string 888

D.

none of above

 

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.