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
Q16: When a file is opened for reading,
Q16: File output may be formatted the same
Q17: The may be used to read information
Q18: The member function reports when the end
Q19: To access files from a C++ program,
Q20: The may be used to write information
Q22: The member function
A)write
B)get
C)insert
D)put
E)None of the above
Q23: A file must be
A)initialized
B)closed
C)opened
D)declared _ before data
Q25: The stream member function fail() can be
Q26: When used by itself, _ causes a
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