Computer Science, asked by agdiya0207, 6 months ago

3.c) What is the difference between w+ and r+ mode?​

Answers

Answered by RozachanYTplayz
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