C++ · C++ Functions: Parameters, Return Values and Overloading
Question 1 of 5
void addItem(vector<string> cart) calls push_back on cart. What does the caller's vector look like afterwards?
Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.