Multiple Choice
Which of the following is the state bit that can be tested to see if the end of an input stream is encountered?
A) ios::eof
B) ios::eofbit
C) ios::failbit
D) ios::badbit
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: All stream objects have _ which indicate
Q27: To write to a file, you use
Q28: Which of the following access flags, when
Q29: Which of the following is the data
Q30: The _ marker is the character that
Q32: The ios::out flag causes the file's existing
Q33: If a file already exists, you can
Q34: Outside of a C++ program, a file
Q35: The end-of-file marker is automatically written<br>A) when
Q36: Only one file stream object can be