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) a string array to store the file contents.
C) one or more file stream objects.
D) All of the above
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q9: The operation of moving to a particular
Q10: The <sup>read</sup><sup> </sup>and <sup>write</sup><sup> </sup>member functions of
Q11: The <sup>ios::hardfail</sup><sup> </sup>bit is set when an
Q12: Outside of a C++ program, a file
Q13: The data type can be used to
Q15: The member function, _, reads a single
Q16: The process of writing in- memory objects
Q17: The member function reports when the end
Q18: Opening a file with the flags <sup>ios::in</sup><sup>
Q19: The stream member function <sup>fail()</sup><sup> </sup>can be