Q29
What does the fgets function in C do when it encounters a newline character?
A.
Removes the newline character
B.
Stops reading
AnswerC.
Replaces the newline with a space
D.
Continues reading
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board