1.

The syntax of the scanf() is scanf(“control string “, arg1,arg2,arg3,….,argn); the prototype of control string is ____________(a) [=%[width][modifiers]type=](b) [=%[modifiers][width]type=](c) [=%[width] [modifiers]](d) [width][modifiers]I have been asked this question in an online quiz.Question is taken from scanf topic in division Input and Output in C of C

Answer»

The correct OPTION is (a) [=%[WIDTH][modifiers]type=]

Explanation: scanf() starts with the symbol % FOLLOWED by the width, MODIFIER, type of the ARGUMENT.



Discussion

No Comment Found

Related InterviewSolutions