Suppose that x is an int variable, y is a double variable, and ch is a char variable. The input is:
?
15A 73.2
?
Choose the values after the following statement executes:
?
cin >> x >> ch >> y;
?
A. x = 15, ch = 'A', y = 73.2
B. x = 15, ch = 'A', y = 73.0
C. x = 15, ch = 'a', y = 73.0
D. This statement results in an error because there is no space between 15 and A.
Answer: A
Computer Science & Information Technology
You might also like to view...
How many lines in /etc/services contain the word send, ignoring the case of the letters in the word?
What will be an ideal response?
Computer Science & Information Technology
Which RF transmission method uses an expanded redundant chipping code to transmit each bit?
A. FHSS B. OFDM C. CDMA D. DSSS
Computer Science & Information Technology
A(n) ________ is a field that determines the value of another field
Fill in the blank(s) with correct word
Computer Science & Information Technology
When you sharpen an image, Photoshop finds edge areas and increases the contrast.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology