Solved

Suppose That Ch1,ch2,and Ch3 Are Variables of the Type Char

Question 29

Multiple Choice

Suppose that ch1,ch2,and ch3 are variables of the type char and the input is:
A B
C
What is the value of ch3 after the following statements execute?
cin.get(ch1) ;
cin.get(ch2) ;
cin.get(ch3) ;


A) 'A'
B) 'B'
C) 'C'
D) '\n'

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions