What happens if you try to open a file for writing, but the file or device is

Question:

What happens if you try to open a file for writing, but the file or device is write protected (sometimes called read-only)? Try it out with a short test program.

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

Step by Step Answer:

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