Q.

Explain the format string "%5d%s %c"

A. five characters as a decimal integer, then reads the remaining as a string and then scans the first non-whitespace character
B. compile error
C. run-time error
D. read first five characters as a decimal and ignore the rest
Answer» A. five characters as a decimal integer, then reads the remaining as a string and then scans the first non-whitespace character
898
0
Do you find this helpful?
7

View all MCQs in

C Language

Discussion

No comments yet