Multiple Choice
Consider the following declaration: char charArray[51];
Char discard;
Assume that the input is:
Hello There!
How are you?
What is the value of discard after the following statements execute?
Cin) get(charArray, 51) ;
Cin) get(discard) ;
A) discard = ' ' (Space)
B) discard = '!'
C) discard = '\n'
D) discard = '\0'
Correct Answer:

Verified
Correct Answer:
Verified
Q9: Assume you have the following declaration char
Q10: Assume you have the following declaration int
Q14: All components of an array are of
Q21: Which of the following correctly declares name
Q24: Consider the following declaration: char str[15];.Which of
Q28: The array index can be any integer
Q29: Suppose that gamma is an array of
Q30: Which of the following statements declares alpha
Q32: In a two-dimensional array, the elements are
Q37: Suppose that sales is an array of