Ask Question
3 June, 13:28

5. If a file does not exist and a program attempts to open it in append mode, what happens

+4
Answers (1)
  1. 3 June, 15:11
    0
    It create a new file in which writing of data begins.

    Explanation:

    A file can be open in the three mode:

    -r (Read mode) : open an existing file for the purpose of reading data from it.

    -w (write mode) : Create a new file for the purpose of writing data to it.

    -a (append mode) : open an existing file for the purpose of appending extra data to it but if the file does not exist, it create a new file and start writing data to it.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “5. If a file does not exist and a program attempts to open it in append mode, what happens ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers