Which statement opens a file in such a way that information will only be written to its end?
A) dataFile(open.append("info.dat") ) ;
B) dataFile.open("info.dat", ios::out | ios::app) ;
C) dataFile.open = "C:\\info.dat" ios:append;
D) open(dataFile.append) ;
E) None of these
Correct Answer:
Verified
Q1: Which of the following statements opens the
Q2: This member function reads a single character
Q4: This member function can be used to
Q5: To access files from a C++ program,
Q6: In order, the three-step process of using
Q7: This data type can be used to
Q8: The _ marker is the character that
Q9: Data stored here disappears once the program
Q10: What is true about the following statement?
Q11: When used by itself, this access flag
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