Q54
Which of the following function is more appropriate for reading in a multi-word string?
A.
scanf()
B.
gets()
AnswerC.
printf()
D.
puts()
E.
None of these
Answer: Option B
Solution
Answer: Option B
Solution:
gets(); collects a string of characters terminated by a new line from the standard input stream stdin