Multiple Choice
To set up a file to perform file I/O, you must declare
A) at least one variable to write to the file.
B) one or more file stream objects.
C) a string array to store the file contents.
D) All of the above
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: The ios::hardfail bit is set when an
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,
Q20: The state bit _ is set when
Q21: The _ data type can be used
Q24: Closing a file causes any buffered information
Q25: When you store data in a variable,
Q25: When the >> operator extracts information from
Q27: Which statement opens a file and links