Multiple Choice
Assuming that text is a variable of type string, what will be the contents of text after the statement cin >> text; is executed if the user types Hello World! then presses Enter?
A) "H"
B) "Hello"
C) "Hello World"
D) "Hello World!"
Correct Answer:

Verified
Correct Answer:
Verified
Q4: Which of the following statements is false?<br>A)
Q5: You can initialize fundamental-type data members in
Q6: The return type _ indicates that when
Q7: Which of the following statements is true?<br>A)
Q8: Normally, constructors are _.<br>A) private<br>B) protected<br>C) privy<br>D)
Q10: C++ Standard Library function getline, from the
Q11: Typically, you cannot call a member function
Q12: Which of the following statements is false?<br>A)
Q13: Which of the following statements is false?<br>A)
Q14: A member-function call can supply _ that