1.

What specifies the minimum number of characters to print after being padded with zeros or blank spaces?(a) flags(b) length(c) width(d) precisionI got this question in exam.The query is from printf in section Input and Output in C of C

Answer»

The correct choice is (C) width

To explain I WOULD SAY: width specifies the MINIMUM number of POSITIONS in the output.



Discussion

No Comment Found

Related InterviewSolutions