Which function is used to read a single character from the console in C++?
A. cin.get(ch)
B. getline(ch)
C. read(ch)
D. scanf(ch)
Answer: Option A
A. cin.get(ch)
B. getline(ch)
C. read(ch)
D. scanf(ch)
Answer: Option A
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream
Join The Discussion