Computer Science for IGCSE & O level - Programming (Section 10 - No. 32)
When you open a file in 'r+' mode (read and write), what happens?
The file is created.
The file is opened for reading and writing, starting from the beginning.
The file is opened for writing, overwriting existing content.
The file is opened in binary mode.
Explanation
The 'r+' mode allows reading and writing. The file pointer is placed at the beginning.
Comments (0)
