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...

What are SIFS and DIFS, and why are they needed?

What will be an ideal response?

Computer Science & Information Technology

________ text flashes on and off as the document is viewed onscreen

A) Shadow B) Hidden C) Blinking D) Outline

Computer Science & Information Technology

Because several tables might have a similarly named field (e.g., Address), Access includes a(n) ________ row on the query design grid to avoid confusion

Fill in the blank(s) with correct word

Computer Science & Information Technology

Word automatically inserts page breaks where they are needed, and you can also insert a page break manually.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology