Computer Science
Related Questions
When you open a file for writing, if the file exists, the existing file is overwritten with the new file.
The absolute paths are from the topmost level of the directory structure.
The relative path for a file always remains the same even after changing the directory.
The types of operations that can be carried out on a file depend upon the file mode a file is opened in.