Multiple Choice
Which of the following will allow an entire line of text to be read into a string object, even if it contains embedded blanks?
A) cin.get()
B) getline()
C) cin.ignore()
D) cin >>
E) both A and B, but not C or D.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: When an arithmetic expression contains two or
Q3: Operator associativity is either left to right
Q4: causes a program to wait until information
Q6: What does the following C++ expression evaluate
Q9: The statement cout << setw(4)<< num4 <<
Q10: The following 4 lines of C++ code,
Q12: The setw manipulator is used to set
Q16: The following pair of C++ statements is
Q19: If the value of dollars is 5.0,
Q29: The following two expressions evaluate to the