File Input Output - Study Mode

[#86] What does tmpfile() returns when it could not create the file?
Correct Answer

(A) stream and NULL

[#87] Within main, return expr statement is equivalent to . . . . . . . .
Correct Answer

(B) exit(expr)

[#88] ungetc() can be used only with getc().
Correct Answer

(B) false

[#89] calloc() returns storage that is initialized to.
Correct Answer

(A) Zero

[#90] puts() does the following when it writes to stdout.
Correct Answer

(D) Adds 'n' to the line written