What value does read() return when it has reached the end of a file?

A) 1

B) -1

C) 0

D) None

View Answer
Option – B.