Suppose that ch1 and ch2 are char variables, and alpha is an int variable. The input is:
?
A 18
?
What are the values after the following statement executes?
?
cin.get(ch1);
cin.get(ch2);
cin >> alpha;
?
A. ch1 = 'A', ch2 = ' ', alpha = 18
B. ch1 = 'A', ch2 = '1', alpha = 8
C. ch1 = 'A', ch2 = ' ', alpha = 1
D. ch1 = 'A', ch2 = '\n', alpha = 1
Answer: A
Computer Science & Information Technology
You might also like to view...
Include the answers to the questions in Step 4.
What will be an ideal response?
Computer Science & Information Technology
Converting the color mode to Grayscale is an example of ____________________ editing, because all of the original color information is discarded.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Alternate text is a mandatory attribute of the element
Indicate whether the statement is true or false
Computer Science & Information Technology
To add apps to Word 2016 you select Store.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology