Examveda

What does the 'fgets' function in C do?

A. Reads a line of text from a file

B. Reads a single character from the standard input

C. Compares two strings

D. Converts a string to an integer

Answer: Option A


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions