Closing a file causes any buffered information to be
A) saved to the file.
B) duplicated.
C) deleted.
D) stored in a buffer for safekeeping.
E) None of the above
Correct Answer:
Verified
Q7: The statement dataFile.close();
A)is legal but risks losing
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
Q13: The state bit is set when an
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
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