When a file is opened in ________ mode, it is opened for both reading and writing in binary format.

  • binary_rw
  • r+b
  • rb+
  • rw
Opening a file in r+b mode in C allows for both reading and writing operations in binary format. The 'r' stands for read, and the 'b' indicates binary mode, making it suitable for combined read and write tasks.
Add your answer
Loading...

Leave a comment

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