0
Are 'r+' and 'w+' same?
'r+' is used to read and write; 'w+' is also used to read and write. Is there any difference between them? Or, they are same in operation.
1 Answer
+ 8
w+ creates the file if it doesn't exist.
'r+' is used to read and write; 'w+' is also used to read and write. Is there any difference between them? Or, they are same in operation.