Question discussion

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

284978Medium 1 reply 1,000 views
35
Which of the following function is more appropriate for reading in a multi-word string?
  • Ascanf()
  • Bgets()
  • Cprintf()
  • Dputs()
  • ENone of these
Correct answer: B

Discussion 1

0
CCommunity
gets()

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