If you define a vector v with the default constructor and define-04102
If you define a vector v with the default constructor, and define another vector w with a one-argument constructor to a size of 11, and insert 3 elements into each of these vectors with push_back(), then the size() member function will return __________ for v and __________ for w.
This multiple choice question (MCQ) is related to the book/course vu cs304 Object Oriented Programming. It can also be found in vu cs304 Mid Term - Quiz No.1.
If you define a vector v with the default constructor, and define another vector w with a one-argument constructor to a size of 11, and insert 3 elements into each of these vectors with push_back(), then the size() member function will return __________ for v and __________ for w.
11 for v and 3 for w.
0 for v and 0 for w.
0 for v and 3 for w.
3 for v and 11 for w.