Question: Considering that you want to open a binary file for reading and writing, which of the following commands should you use? strm . open (

Considering that you want to open a binary file for reading and writing, which of the following commands should you use?
strm.open(filename, ios::in | ios::out);
strm.open(filenameios: :binary);
strm.open(filename);
strm.open(filename, ios::in | ios::out | ios::binary);
 Considering that you want to open a binary file for reading

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!