Multiple Choice
Suppose that x and y are int variables, ch is a char variable, and the input is: 4 2 A 12
Choose the values of x, y, and ch after the following statement executes:
Cin >> x >> ch >> y;
A) x = 4, ch = 2, y = 12
B) x = 4, ch = A, y = 12
C) x = 4, ch = ' ', y = 2
D) This statement results in input failure
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: The function _ returns the next character
Q7: Suppose that x is an int variable,
Q8: Suppose that x and y are int
Q24: In an output statement, each occurrence of
Q26: Suppose that x = 25.67, y =
Q28: Suppose that x = 1565.683, y =
Q31: It is a good idea to redefine
Q33: Suppose that alpha, beta, and gamma are
Q36: Suppose that x is an int variable,
Q40: C++ comes with a wealth of functions,