Suppose that ch1 and ch2 are char variables and the input is:WXYZWhat is the value of ch2 after the following statements execute?cin >> ch1;ch2 = cin.peek();cin >> ch2; 

A. W
B. X
C. Y
D. Z

Answer: B

Computer Science & Information Technology

You might also like to view...

SQL Server __________ store logins and passwords in the master database.

A. can be configured to but by default does not B. doesn't C. does

Computer Science & Information Technology

An IP address consists of four octets separated by periods. Which part of this address denotes its class?

A. first octet B. second octet C. third octet D. fourth octet

Computer Science & Information Technology