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:

Verified
Correct Answer:
Verified
Related Questions
Q22: Suppose that x is an int variable,
Q23: Suppose that ch1 and ch2 are char
Q24: In an output statement, each occurrence of
Q25: In C++, the dot is an operator
Q26: Suppose that x is an int variable
Q28: Manipulators without parameters are part of the
Q29: Suppose that alpha is an int variable
Q30: _ is a parameterized stream manipulator.<br>A) endl<br>B)
Q31: It is a good idea to redefine
Q32: Suppose that ch1, ch2, and ch3 are