Solved

If You Want to Examine an Input Value Without Actually

Question 1

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:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents