MCQ
Which of the following command is used to open a file "d:temp.txt" for writing in binary format only?
- Afout = open("d:story.txt", "wb")
- ✓fout = open("d:temp.txt", "wb")
- Cfout = open(file = "d:temp.txt", "wb+")
- Dfout = open(file = "d:temp.txt", "wb+")