File Input Output - Study Mode

[#126] What does the following C code snippet mean? char *gets(char *s)
Correct Answer

(A) reads the next input line into the array s

[#127] Which functions is declared in ?
Correct Answer

(C) ferror()

[#128] What does scanf() function return?
Correct Answer

(A) Number of successfully matched and assigned input items

[#129] What is the use of symbol * in the control string as shown [=%[*][width] [modifiers] type=]?
Correct Answer

(A) * is optional and used when the data should be read from the stream but ignored

[#130] For a typical program, the input is taken using . . . . . . . .
Correct Answer

(D) All of the mentioned