Multiple Choice
Suppose that alpha is an int variable and ch is a char variable and the input is: 17 A
What are the values after the following statements execute?
Cin >> alpha;
Cin >> ch;
A) alpha = 17, ch = ' '
B) alpha = 1, ch = 7
C) alpha = 17, ch = 'A'
D) alpha = 17, ch = 'a'
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: When you want to process only partial
Q20: C++ has a special name for the
Q24: In an output statement, each occurrence of
Q28: You can disable the manipulator left by
Q29: Suppose that ch1,ch2,and ch3 are variables of
Q30: What is the output of the following
Q31: Suppose that alpha,beta,and gamma are int variables
Q34: The stream function _ lets you put
Q36: Suppose that x is an int variable,y
Q37: On some compilers,the statements cin >> left;