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

What is CIDR?  Give an example.

What will be an ideal response?

Computer Science & Information Technology

To ensure only authorized users are logging onto a network, which server would a client/server network include?

a. Internet b. authentication c. communications d. application

Computer Science & Information Technology

A ________ is a portion of the document that can be formatted differently from the rest of the document

A) page break B) manual page break C) section D) section break

Computer Science & Information Technology

It is good practice to title podcasts with their name and date so that they will be listed sequentially for the listener.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology