When dealing with binary files, the ios::binary mode should be used in conjunction with another mode such as _______. 

  • ios::in 
  • ios::out 
  • ios::app 
  • ios::trunc
When working with binary files in C++, the ios::binary mode is often paired with another mode to specify the operation, such as ios::out for writing or ios::in for reading. This ensures that the file is treated as a binary file.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *