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) getline()
B) cin >>
C) cin.get()
D) cin.ignore()
E) both A and B, but not C or D.
Correct Answer:
Verified
Q12: Which of the following expressions will evaluate
Q13: Program code that can be evaluated to
Q14: The _ stream manipulator can be used
Q15: The following C++ statement will assign 1.5
Q16: Hand tracing a program is
A) a program
Q18: In C++, a value can be raised
Q19: When an operator's operands are of different
Q20: To use stream manipulators, you should include
Q21: The statement cout << setw(4) << num4
Q22: The following statement sets sum1, sum2, and
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents