Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

  2. A.

     fgets()

    B.

     fget()

    C.

     fileget()

    D.

     filegets()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment