File Input Output - Study Mode
[#161] calloc() initialize memory with all bits set to zero.
Correct Answer
(A) True
[#162] The statement prog < infile causes . . . . . . . .
Correct Answer
(A) prog to read characters from infile
[#163] What is the use of getchar()?
Correct Answer
(C) The next input character each time it is called EOF when it encounters end of file
[#164] Which of the following data-types are promoted when used as a parameter for an ellipsis?
Correct Answer
(A) char
[#165] What is the value of EOF?
Correct Answer
(A) -1