Q. Which function gets the current line number of a file handle?
β
Correct Answer: (A)
ftell()
Explanation: ftell() returns the current position in the file pointer.