Multiple Choice
What is true about the following statement? out.open("values.dat", ios::app) ;
A) If the file already exists, its contents are preserved and all output is written to the end of the file.
B) If the file exists, it should be replaced with a new copy of values.dat
C) If the file exists, it can be opened but not modified
D) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q8: This member function can be used to
Q9: This data type can be used to
Q12: When data is read from a file,
Q23: An alternative to using the open member
Q24: The setprecision manipulator cannot be used to
Q30: This state bit is set when an
Q30: All stream objects have these, which indicate
Q32: Outside of a C++ program, a file
Q33: If a file already exists, you can
Q36: Only one file stream object can be