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

Which one of the following features enables you to share a file or folder with anyone who has a Vista account on your computer?

A) permission-based file sharing B) shared resource C) common device D) Public folder

Computer Science & Information Technology

The clipboard is a(n) ________ storage area maintained by the operating system

Fill in the blank(s) with correct word

Computer Science & Information Technology