88.9k views
3 votes
You can use the function get line to read a string containing blanks. True False

1 Answer

5 votes

Answer:

True

Step-by-step explanation:

True.

The getline() function is used to read a line of text from an input stream, including any blank spaces or white spaces. It reads input until a specified delimiter (such as a newline character) is encountered, and stores the resulting string in a variable.

User Avijit
by
8.5k points

No related questions found