Which of the following is the correct syntax to read the single character to console in the C++ language?
Show answerHide answer
Correct answer: (E) None of the above
Explanation
None of the listed forms is valid C++ (the correct usage is cin.get(ch)), so the answer is None of the above.