Suppose that alpha is an int variable and ch is a char variable. The input is:
?
17 A
?
What are the values after the following statements execute?
?
cin >> alpha;
cin >> ch;
?

A. alpha = 17, ch = ' '
B. alpha = 1, ch = 7
C. alpha = 17, ch = 'A'
D. alpha = 17, ch = 'a'


Answer: C

Computer Science & Information Technology

You might also like to view...

Describe how cookies can be used to store information about a user.

What will be an ideal response?

Computer Science & Information Technology

_____ represents side comments and fine print, which typically features disclaimers, caveats, legal restrictions, or copyrights.

a. Subscript b. Small element c. S element d. Samp element

Computer Science & Information Technology

The icon labeled 3 in the accompanying figure represents the ____ command.

a. Layer, Align, Top Edges b. Layer, Align, Vertical Centers c. Layer, Align, Left Edges d. Layer, Align, Right Edges

Computer Science & Information Technology

Which incorrect setting on a host device would cause it to have normal local connectivity but no ability to communicate off the local subnet?

A) DNS server B) Default router C) DHCP server D) MAC address

Computer Science & Information Technology