Vidyalelo
Python · Q73

Files Handling in Python

Programming · Python · question 73

Q73

What is the difference between r+ and w+ modes?

A.
no difference
B.
in r+ the pointer is initially placed at the beginning of the file and the pointer is at the end for w+
Answer
C.
in w+ the pointer is initially placed at the beginning of the file and the pointer is at the end for r+
D.
depends on the operating system

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board