CBSE Class 12 Computer Science Question 71 of 145

File Handling — Question 6

Back to all questions
6
Question

Question 6

The relative path for a file always remains the same even after changing the directory.

Answer

False

Reason — The relative paths are relative to current working directory. Hence, the relative path for a file does change based on the current working directory.