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
Correct Answer:
Verified
Q44: The syntax of the scanf() is scanf("control
Q45: What is the use of symbol *
Q46: What action is carried out by scanf
Q47: What error will generate if the read
Q48: _ is an optional argument that gives
Q50: Select the correct value of i from
Q51: If the user enters 1 3.2 s,
Q52: If the user enters 1 s 3.2,
Q53: What error will be generated on using
Q54: What is the prototype of scanf function?
A)scanf("controlstring",arg1,arg2,arg3,….,argn);
B)scanf("control
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents