Q. Which of the following functions is used to read a file into an array?
β
Correct Answer: (A)
file()
Explanation: The file() function reads a file into an array line by line.