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
Related Questions on Arrays and Strings
Join The Discussion