Q. Which function is used to check if a file exists?
β
Correct Answer: (C)
file_exists()
Explanation: file_exists() checks whether a file or directory exists.