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

Which one of the following function is capable of reading a specific number of characters from a file? Correct Answer fgets()

The function fgets() will return a line from an open file. This stops returning on a new line, at the specified length, or at EOF, whichever comes first. Its prototype is string fgets(resource handle ). If the optional length parameter is omitted, 1024 character is assumed.

Related Questions