Which of the following input function cannot be used to input multiword string?
a) getch()
b) gets ()
c) scanf()
d) None of these
Answers
Answered by
12
Scanf is the correct answer
Answered by
2
Answer:
option (d) is correct answer: None of these.
Explanation:
getch() function is used to give acceptance for characters. getch() provides to read a character directly from the keyboard with the help of these functions.
Generally, getch() functions are printing the output on the screen and it is placed at the end of the program.
scanf is the function that reads the reads formatted data from the stdin.
gets() is usable in reading the characters from stdin
Hence, all three are the functions and can be used to input the multiword string.
Similar questions