The statement dataFile.close() ;
A) is illegal in C++.
B) needs a file name argument to execute correctly.
C) closes a file.
D) is legal but risks losing valuable data.
E) None of the above
Correct Answer:
Verified
Q1: The _ member function reports when the
Q2: An alternative to using the open member
Q3: The read and write member functions of
Q4: The operation of moving to a particular
Q5: The stream member function fail() can be
Q7: The state bit, _, can be tested
Q8: The _ may be used to write
Q9: The _ function can be used to
Q10: The member function, _, reads a single
Q11: string objects cannot be stored to 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