Sail E0 Webinar
Question

Which of these values is returned by read() method is end of file (EOF) is

encountered?


Options:
A .  0
B .  1
C .  -1
D .  Null
Answer: Option C

Each time read() is called, it reads a single byte from the file and returns the byte 


Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers