If you have already removed a character (in char variable ch) from the input stream,you can apply a member function of cin to the variable ch to return it to the input stream.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
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
Q12: A C-string variable is just an array
Q13: A C-string is a sequence of characters
Q14: ANSI/ISO C++ standard includes a string-handling library
Q15: C-string literals are written 'Hello'.
Q16: A C-string variable is an array,so it
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