In fopen (). the mode, that opens a binary file for reading is
In fopen (). The mode, that opens a binary file for reading is rb.
The fopen () function opens the file that is specified by filename. The mode parameter is a character string specifying the type of access that is requested for the file. The mode variable contains one positional parameter followed by optional keyword parameters.