1.

The output of the following program is main( ){float y;y=198.7361;printf(“%7.2f”, y);}  (A) 198. 736(B) 198.73 (C) 198.74(D) 198.74 

Answer»

Correct option - (C)

 198.74

Explanation:-

The printf statement is giving formatted output till two places



Discussion

No Comment Found

Related InterviewSolutions