compiler ignores the line while executing the program fill in the blanks
Answers
Answered by
1
Answer:
In C++, if we need to read few sentences from a stream, the generally preferred way is to use getline() function. It can read till it encounters newline or sees a delimiter provided by user.
Here is a sample program in c++ that reads four sentences and displays them with ” : newline”
Similar questions
Physics,
3 months ago
Social Sciences,
3 months ago
English,
6 months ago
Computer Science,
6 months ago
Hindi,
11 months ago
Social Sciences,
11 months ago