The state bit is set when an attempted operation has failed.
A) ios::badbit
B) ios::goodbit
C) ios::hardfail
D) ios::failbit
E) None of the above
Correct Answer:
Verified
Q8: Data stored is lost when the computer
Q9: The state bit,
A)ios::eof
B)ios::failbit
C)ios::badbit
D)ios::eofbit , can be tested
Q10: ofstream, ifstream, and fstream are
A)libraries.
B)string arrays.
C)data types.
D)header
Q11: A file _ is a small holding
Q12: Closing a file causes any buffered information
Q14: The data type can be used to
Q15: The data type can be used to
Q16: When a file is opened for reading,
Q17: The may be used to read information
Q18: The member function reports when the end
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents