Q. How to read a binary file?
β
Correct Answer: (C)
open('file', 'rb')
Explanation: 'rb' opens the file in binary read mode.
Explanation: 'rb' opens the file in binary read mode.