Solved

Consider the Following Declaration: Char CharArray[51];

Question 25

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions