1.

What symbol is used to Left-justify within the data given field width?(a) -(minus sign)(b) +(plus sign)(c) #(d) 0I got this question in a national level competition.My enquiry is from printf in chapter Input and Output in C of C

Answer»

Right choice is (a) -(MINUS sign)

EASY explanation - To left-justify the data USE minus sign(-) in the FLAGS field.



Discussion

No Comment Found

Related InterviewSolutions