hat are the values of the elements in the vector named names_1
after the following code is executed?
vector<string> names_1 { "Mike", "Ben", "Joel",
"Anne" };
vector<string> names_2 { "Judy", "Samantha", "Kelly" };
names_1.insert(names_1.end(), "Mary");
names_1.erase(names_1.begin());
names_1.insert(names_1.begin() + 2, ++names_2.begin(),
names_2.end());
names_1.swap(names_2);
names_1.erase(++names_1.begin());
names_1.insert(names_1.begin(), ++names_2.begin(), names_2.begin()
+ 2);
a.
Joel, Judy, Samantha
b.
Judy, Mary, Joel, Mary
c.
Joel, Anne, Judy, Samantha
d.
Joel, Judy, Kelly
1.5 points
QUESTION 12
What are the values of the key/value pairs in...