Examveda
Examveda

Which of the following function is more appropriate for reading in a multi-word string?

A. scanf()

B. gets()

C. printf()

D. puts()

E. None of these

Answer: Option B

Solution(By Examveda Team)

gets(); collects a string of characters terminated by a new line from the standard input stream stdin


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings