Which of the following does this task


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 the following does this task ?

A) cin.get(ch);

B) cin.put(ch);

C) cin.peek(ch);

D) cin.putback(ch);

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Which of the following does this task
Reference No:- TGS01406447

Expected delivery within 24 Hours