adplus-dvertising
frame-decoration

Question

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).prints the string 888

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The  following program fragment