What is displayed after line 10 is run?
```
string new1, new2;
1 string text1 = “C++”;
2 string text2 = “math”;
3 string text3 = “chocolate”;
4 stringstream ss;
5 ss << “I love” << text3 << “and” << text2;
6 new1 = ss.str();
7 cout << new1;
8 st << text1 << “is easy to learn!”;
9 new2 = st.str();
10 cout << st;```
A. C++ is easy to learn.
B. I love chocolate and math.C++ is easy to learn!
C. C++ math chocolate.
D. None are correct.
B
You might also like to view...
Create and validate the local logical data models for each of the local conceptual data models of the Wellmeadows Hospital case study identified
What will be an ideal response?
A race condition is a result of
A. unpredictable scheduling of actions B. fast processor speeds
Write the prototype of a function convert that converts kilograms to pounds and ounces, returning its results through output parameters.
What will be an ideal response?
Windows is an example of ____.
A. shareware B. freeware C. closed source software D. open source software