Q. Which function is used to read a full line of text in C++?
β
Correct Answer: (B)
getline()
Explanation: The 'getline()' function is used to read an entire line of input in C++.