![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
C LanguageNo comments yet