If the file does not exist, it creates a new file for writing. The file pointer is at the end of the file if the file exists. If the file does not exist, it creates a new file for reading and writing. Overwrites the existing file if the file exists.
0 Comments
Leave a Reply. |