Suppose that x and y are int variables, and z is a double variable. The input is:
?
28 32.6 12
?
Choose the values of x, y, and z after the following statement executes:
?
cin >> x >> y >> z;
?

A. x = 28, y = 32, z = 0.6
B. x = 28, y = 32, z = 12.0
C. x = 28, y = 12, z = 32.6
D. x = 28, y = 12, z = 0.6


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following is the correct recursive step for the recursive function power (m, n) which raises m to the power n?

a) if (n <= 1) return m; b) return m * power (m - 1, n); c) return n * power (m, n - 1); d) return power (m, n-1);

Computer Science & Information Technology

The rule base should permit access to public servers in the _________ and enable users to access the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What class can be used to provide information on directories or folders?

A. Directory B. File C. Cabinet D. Folder

Computer Science & Information Technology

Why is the hit rate of an L2 cache usually lower than that of an L1 cache?

What will be an ideal response?

Computer Science & Information Technology