PrepAway - Latest Free Exam Questions & Answers

How can precisely one byte be read from a file, pointed by $fp?

How can precisely one byte be read from a file, pointed by $fp? (Choose 2)

PrepAway - Latest Free Exam Questions & Answers

A.
fread($fp, 1);

B.
fgets($fp, 1);

C.
fgetss($fp, 1);

D.
fgetc($fp);

E.
All of the above

One Comment on “How can precisely one byte be read from a file, pointed by $fp?


Leave a Reply

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