Saved Bookmarks
| 1. |
What is the prototype of scanf function?(a) scanf("controlstring",arg1,arg2,arg3,….,argn);(b) scanf("control string", variable list);(c) scanf(" varible list,", control string);(d) scanf("arg1,arg2,arg3,….,argn", control string);This question was addressed to me in an interview for internship.This interesting question is from scanf topic in division Input and Output in C of C |
|
Answer» RIGHT choice is (a) scanf("CONTROLSTRING",ARG1,arg2,arg3,….,ARGN); The explanation: The SYNTAX of the scanf() can be given as,scanf("control string", arg1,arg2,arg3,….,argn); |
|