Page 1 of 1

Which function is used to read a single character from the console in C++?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
a) cin.get(ch)
b) getline(ch)
c) read(ch)
d) scanf(ch)