A file must be ________ before data can be written to or read from it.
A) closed
B) opened
C) declared
D) initialized
E) None of the above
Correct Answer:
Verified
Q26: When a file is opened for reading,
Q27: Opening a file with the flags ios::in
Q28: The state bit _ is set when
Q29: When used by itself, _ causes a
Q30: Outside of a C++ program, a file
Q32: The member function _ writes a single
Q33: The _ data type can be used
Q34: All stream objects have _ that indicate
Q35: To access files from a C++ program,
Q36: To write to a binary file, you
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