Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
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