Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++vector basicsSingle-choice MCQ

After this code, what are the likely values of size and (typical) capacity behavior?

std::vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3);