McqMate
| Q. |
Which of the following are the modes of both writing and reading in binary format in file? |
| A. | wb+ |
| B. | w |
| C. | wb |
| D. | w+ |
| Answer» A. wb+ | |
| Explanation: here is the description below “w” opens a file for writing only. overwrites the file if the file exists. if the file does not exist, creates a new file for writing. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet