Multiple Choice
The state bit, ________, can be tested to see if the end of an input stream has been encountered.
A) ios::eof
B) ios::eofbit
C) ios::failbit
D) ios::badbit
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: A file must be _ before data
Q10: File output may be formatted the same
Q11: The _ may be used to read
Q12: string objects cannot be stored to a
Q13: Which statement opens a file in such
Q15: The statement dataFile.close();<br>A) is illegal in C++.<br>B)
Q16: All stream objects have _ that indicate
Q17: ofstream, ifstream, and fstream are<br>A) header files.<br>B)
Q18: The member function _ writes a single
Q19: To access files from a C++ program,