Multiple Choice
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
Correct Answer:
Verified
Q26: On most systems,you don't get a chance
Q27: Does this code have a problem?<br>char strVar[]
Q28: To read a character at a time,or
Q29: Write a short C++ code fragment that
Q30: A C-string variable with a something in
Q32: To get a complete line of 70
Q33: ANSI/ISO C++ standard includes a string-handling library
Q34: The = sign used to give a
Q35: You are writing bulletproof input.Describe a simple
Q36: It is legal to assign C-string variables.