If you want to examine an input value without actually removing it from the input stream,you can apply a member function of cin to the variable ch,which you are to assume is a char type variable.Which of these does this task?
A) cin.get(ch) ;
B) cin.put(ch) ;
C) cin.peek(ch) ;
D) cin.putback(ch) ;
Correct Answer:
Verified
Q2: It is legal to assign C-string variables.
Q3: The C-string library functions are safe and
Q4: The preprocessor symbol NULL and the C-string
Q5: The C-string library functions use the null
Q6: It is possible to use a standard
Q7: To read a character at a time,or
Q8: The C-string library function strcmp compares two
Q9: The = sign used to give a
Q10: Indexing for Standard string objects does not
Q11: If you have already removed a character
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