Which statement opens a file in such a way that information will only be written to the end of the file?
A) dataFile(open.append("info.dat") ;
B) dataFile.open("info.dat", ios::out | ios::app) ;
C) datFile.open = "c:\\info.dat" ios::append;
D) open(dataFile.append) ;
E) None of these
Correct Answer:
Verified
Q19: File output may be formatted the same
Q20: Which of the following is the state
Q21: Which of the following data types can
Q22: Which of the following access flags, when
Q23: Which of the following means accessing information
Q25: Closing a file causes any unsaved information
Q26: Which of the following is the member
Q27: All stream objects have _ which indicate
Q28: The _ marker is the character that
Q29: When a file is opened, the file
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