Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
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