InterviewSolution
Saved Bookmarks
| 1. |
What can be used to input a string with blank space?(a) inline(b) getline(c) putline(d) setlineI had been asked this question at a job interview.This intriguing question comes from Input Stream in portion Strings, Streams & Numerics in C++ of C++ |
|
Answer» RIGHT choice is (b) GETLINE Explanation: If a USER wants to input a sentence with blank spaces, then he may USE the function getline. |
|