Multiple Choice
The state bit ________ is set when an attempted operation has failed.
A) ios::failbit
B) ios::badbit
C) ios::hardfail
D) ios::goodbit
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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,
Q21: The _ data type can be used
Q22: To set up a file to perform
Q24: Closing a file causes any buffered information
Q25: When you store data in a variable,
Q25: When the >> operator extracts information from