Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.17K Points
Coach

Q.) 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+
(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
Correct answer : Option (B) - in r+ the pointer is initially placed at the beginning of the file and the pointer is at the end for w+

Share

Discusssion

Login to discuss.