Suppose that alpha, beta, and gamma are int variables and the input is:100 110 120200 210 220300 310 320What is the value of gamma after the following statements execute?cin >> alpha;cin.ignore(100, '\n');cin >> beta;cin.ignore(100,'\n');cin >> gamma; 

A. 100
B. 200
C. 300
D. 320


Answer: C

Computer Science & Information Technology

You might also like to view...

To distinguish editing done to a document by multiple authors, the changes are:

A) displayed in different colors. B) numbered—1, 2, 3, and so on. C) highlighted in different colors. D) displayed in different fonts.

Computer Science & Information Technology

If the column is too narrow, part of the data you enter in the cell will get deleted

Indicate whether the statement is true or false

Computer Science & Information Technology

Match the tab name to the feature available on that tab:

I. Home tab II. View tab III. Page Layout tab IV. File tab V. Insert tab A. Print B. Freeze Panes C. Go To D. Breaks E. Table

Computer Science & Information Technology

Use the PowerPoint SmartArt graphic type pyramid if you want to show proportional relationships with the largest component on the top or the bottom

Indicate whether the statement is true or false

Computer Science & Information Technology