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

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

Answer: A

Computer Science & Information Technology

You might also like to view...

When creating a document by using text and elements from a variety of different sources, you should first collect all of the documents into the:

A) Windows Clipboard. B) Office Clipboard. C) Word Clipboard. D) 2013 Clipboard.

Computer Science & Information Technology

A network administrator is configuring a server to provide file sharing for offices across the company. Which of the following addresses would be acceptable to set on a device?

A. 255.255.255.255 B. 192.168.0.255 C. 192.168.0.25 D. 192.255.255.255

Computer Science & Information Technology