Examveda
Examveda

What does the fgets function in C do when it encounters a newline character?

A. Removes the newline character

B. Stops reading

C. Replaces the newline with a space

D. Continues reading

Answer: Option B


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings