Multiple Choice
Suppose that x is an int variable and y is a double variable and the input is: 10 20.7
Choose the values after the following statement executes: cin >> x >> y;.
A) x = 10, y = 20
B) x = 10, y = 20.0
C) x = 10, y = 20.7
D) x = 10, y = 21.0
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: The following statements will result in input
Q15: If input failure occurs in a C++
Q21: When reading data into a char variable,
Q27: Suppose that ch1 and ch2 are char
Q28: Manipulators without parameters are part of the
Q39: Entering a char value into an int
Q41: Suppose that ch1 and ch2 are char
Q44: Suppose that x = 25.67,y = 356.876,and
Q47: Suppose that ch1,ch2,and ch3 are variables of
Q48: Consider the following program segment.<br>Ifstream inFile; //Line