B. <u>getline</u> reads a line of input, including leading and embedded spaces, and stores it in a string object.
<h3>What is programming?</h3>
Programming can be defined as a process through which software developer and computer programmers write a set of instructions (codes) that instructs a software on how to perform a specific task on a computer system.
In Computer technology, some examples of programming language include the following:
- BASIC
- C++
- Java
- FORTRAN
- Python
<h3>What is the
getline()?</h3>
The getline() can be defined as a standard library function in C++ programming language which is typically designed and developed to read a line from an input stream and stores it in a string object.
Additionally, the getline() function can extract characters from a given input stream and then, append it to the string object until a delimiting character is encountered in the code.
Read more on getline() here: brainly.com/question/20388738
#SPJ1
Complete Question:
________ reads a line of input, including leading and embedded spaces, and stores it in a string object.
Select one:
a. cin.get
b. getline
c. cin.getline
d. get
e. None of these