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
Q21: Consider the following statement: int alpha[25][10];.Which of
Q22: Which of the following correctly declares name
Q23: Consider the following declaration: int alpha[5] =
Q26: Which of the following correctly declares and
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents