Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q4: The stream member function fail() can be
Q5: An alternative to using the open member
Q6: Opening a file with the flags ios::in
Q7: The _ member function reports when the
Q8: Outside of a C++ program, a file
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
Q14: The state bit, _, can be tested