1.

For floating point numbers, the precision flag specifies the number of decimal places to be printed. When no precision modifier is specified, printf() prints _______(a) six decimal positions(b) five decimal positions(c) four decimal positions(d) three decimal positionsThe question was asked in a national level competition.Question is from printf topic in portion Input and Output in C of C

Answer»

Correct ANSWER is (a) six decimal positions

Explanation: Its FORMAT can be GIVEN as “. m”, where m specifies the number of decimal digits when no precision modifier is specified, printf PRINTS six decimal positions.



Discussion

No Comment Found

Related InterviewSolutions