To write to a binary file, you can use the write() member function of an ofstream
object.
Correct Answer:
Verified
Q7: When you store data in a variable,
Q16: File output may be formatted the same
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
Q27: The ios::hardfail bit is set when an
Q29: Opening a file with the flags ios::in
Q30: string objects cannot be stored to a
Q31: The operation of moving to a particular
Q33: The read and write member functions of
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