Which of the following are absolute file paths and which are

Which of the following are absolute file paths, and which are relative?/Users/kermit/stage.jpg Documents/paper.doc C:\\Program Files\\Tetris.exe Desktop/photo.jpg absolute path relative path

Solution

Absolute paths at all times begin by means of a slash. Relative paths do not contain a slash at the beginning, but can have one or two dots.

So, First and thrid are absolute paths.

second and fourth are relative paths

 Which of the following are absolute file paths, and which are relative?/Users/kermit/stage.jpg Documents/paper.doc C:\\Program Files\\Tetris.exe Desktop/photo.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site