InterviewSolution
Saved Bookmarks
| 1. |
The syntax of printf() function is printf(“control string”, variable list) ;what is the prototype of the control string?(a) %[flags][.precision][width][length]specifier(b) %[flags][length][width][.precision]specifier(c) %[flags][width][.precision][length]specifier(d) %[flags][.precision][length][width]specifierThis question was addressed to me in an interview for job.The question is from printf topic in chapter Input and Output in C of C |
|
Answer» Right choice is (C) %[flags][WIDTH][.precision][LENGTH]specifier |
|