Railways PYQCBT 1 2026Information TechnologySoftware & Office Applications

RRB NTPC · Question 90

In the Windows Operating System, if a file named config.ini is located in the root directory of the main drive, what is the correct and complete absolute path to reference this file?

  1. config.ini

  2. C:\config.ini

  3. C:\Users\config.ini

  4. \config.ini

Show answer & explanationShow explanation

Answer: (B) C:\config.ini

Explanation

• File: config.ini located in the root directory of the main drive in Windows OS. • The correct absolute path is C:\config.ini. Related Facts: • In the Windows Operating System, the main system drive is assigned the drive letter 'C:' and uses the backslash ('\') as the directory separator. • An absolute path starts from the drive letter and root backslash ('C:\'), so a file named config.ini in the root directory has the complete path 'C:\config.ini'. Correct Answer: (b) C:\config.ini

Diagram explaining the answer