0
Guys can you explain me "w+" , "r+"
2 Answers
+ 2
They both open in read write mode. They both place the cursor and the beginning of the file. However, w+ will delete/overwrite the contents of the file if it already exists and create the file if it doesn't.
0
w stands for write, so it will start rewriting the content you opened, whilst r stands for read, which means it will read the content in the file