3.c) What is the difference between w+ and r+ mode?
Answers
Answered by
0
Answer:
Both r+ and w+ can read and write to a file. However, r+ doesn't delete the content of the file and doesn't create a new file if such file doesn't exist, whereas w+ deletes the content of the file and creates it if it doesn't exist.
hope this helps uwu
Similar questions
Computer Science,
3 months ago
English,
3 months ago
Math,
6 months ago
Business Studies,
6 months ago
Social Sciences,
10 months ago