Solved

Suppose That Ch1 and Ch2 Are Char Variables and the Input

Question 13

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 >> ch1;
Ch2 = cin.peek() ;
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