Vidyalelo
C Programming · Q11

Standard Library Functions

Programming · C Programming · question 11

Q11

What does the 'fgets' function in C do?

A.
Reads a line of text from a file
Answer
B.
Reads a single character from the standard input
C.
Compares two strings
D.
Converts a string to an integer

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board