Q. Which function checks if a file or directory exists?
β
Correct Answer: (C)
file_exists()
Explanation: file_exists() returns true if the file or directory exists.