Solved

Suppose That Ch1 and Ch2 Are Char Variables and the Input

Question 27

Multiple Choice

Suppose that ch1 and ch2 are char variables and the input is:WXYZ What is the value of ch2 after the following statements execute?
Cin) get(ch1) ;
Cin) putback(ch1) ;
Cin >> ch2;


A) W
B) X
C) Y
D) Z

Correct Answer:

verifed

Verified

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

Related Questions