Q38
What is the purpose of the 'cin.ignore()' function in C++?
A.
Ignores the next character in the input buffer
B.
Ignores the previous character in the input buffer
C.
Clears the input buffer
AnswerD.
Reads a character from the input buffer and discards it
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board