Q. Which function is used to read a single character in the console in C++?
β
Correct Answer: (D)
cin.get(c)
Explanation: In C , the cin.get() function reads a single character from the console.