Vidyalelo
C++ Programming · Q104

Introduction to C++

Programming · C++ Programming · question 104

Q104

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

A.
cin.get(ch)
Answer
B.
getline(ch)
C.
read(ch)
D.
scanf(ch)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board