Q. How to read a binary file?

  • (A) open('file', 'r')
  • (B) open('file', 'w')
  • (C) open('file', 'rb')
  • (D) open('file', 'ab')
πŸ’¬ Discuss
βœ… Correct Answer: (C) open('file', 'rb')
Explanation: 'rb' opens the file in binary read mode.
Explanation by: Mr. Dubey
'rb' opens the file in binary read mode.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate