Multiple Choice
Suppose that ch1 and ch2 are char variables, and alpha is an int variable. The input is:
A 18
What are the values after the following statement executes?
A) ch1 = 'A', ch2 = ' ', alpha = 18
B) ch1 = 'A', ch2 = '1', alpha = 8
C) ch1 = 'A', ch2 = ' ', alpha = 1
D) ch1 = 'A', ch2 = '\n', alpha = 1
Correct Answer:

Verified
Correct Answer:
Verified
Q10: Suppose that ch1, ch2, and ch3 are
Q20: C++ has a special name for the
Q22: Suppose that ch1 and ch2 are char
Q24: In an output statement, each occurrence of
Q25: In C++, the dot is an operator
Q25: Consider the following program segment. <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB4784/.jpg"
Q26: Suppose that x = 25.67, y =
Q28: Suppose that x = 1565.683, y =
Q30: _ is a parameterized stream manipulator.<br>A) endl<br>B)
Q39: Entering a char value into an int