Examveda
Examveda

Which one of the following function is capable of reading a specific number of characters form a file?

A. fgets()

B. fget()

C. fileget()

D. filegets()

Answer: Option A

Solution(By Examveda Team)

Its prototype is string fgets(resource handle [, int length]). If the optional length parameter is omitted, 1024 character is assumed.

This Question Belongs to PHP >> File System

Join The Discussion

Related Questions on File System