Which mode should a file be opened in to allow data to be written to it, erasing

Question:

Which mode should a file be opened in to allow data to be written to it, erasing any previous data?


Previous data

What is a file’s read position? Where is the read position when a file is first opened for reading?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: