Computer Science
The relative path for a file always remains the same even after changing the directory.
Related Questions
The absolute paths are from the topmost level of the directory structure.
The relative paths are relative to the current working directory.
The types of operations that can be carried out on a file depend upon the file mode a file is opened in.
If no path is given with a file name in the file open(), then the file must exist in the current directory.