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

The ________ keyword is used to create an abstract class.

a) Polymorph b) Inherit c) Abstract d) MustInherit

Computer Science & Information Technology

If a datagram has an incorrect value in one of the header fields, which ICMP error message will be received?

What will be an ideal response?

Computer Science & Information Technology