1.

Output justification such as decimal point, numerical sign, trailing zeros or octal are specified.(a) specifier(b) flags(c) precision(d) decimalI got this question in examination.Origin of the question is printf in chapter Input and Output in C of C

Answer»

The CORRECT option is (b) flags

Easiest explanation - Flags SPECIFY output justification such as Left-justify within the DATA given field width, Displays the data with its numeric sign, used to provide additional specifiers LIKE o, x, X for octal, left PADDING of a number.



Discussion

No Comment Found

Related InterviewSolutions