Which of the following option is correct?
1.if we try to write in a text file that does not exist, an error occurs
2.if we try to read a text file that does not exist, the file gets created.
3.if we try to write on a text file that does not exist, the file gets Created.
4.None of the above
Answer:3