Which of the following is not a valid mode to open a file?
A. ab
B. rw
C. r+
D. w+
Answer:A
Which of the following is not a valid mode to open a file?
A. ab B. rw C. r+ D. w+
Explanation: Use r+, w+ or a+ to perform both read and write operations using a single file object.