Multiple Choice
The vector class has a ________ member function which can be used to request an increase in the vector's capacity and a __________ member function to decrease a vector's capacity.
A) size() , max_size()
B) capacity() , reserve()
C) max_size() , shrink()
D) reserve() , shrink_to_fit()
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q28: Select all that apply. Which of the
Q29: In a mapping, each element must have
Q30: Two types of container classes in the
Q31: A(n) _ is a class that stores
Q32: Because a vector container uses a dynamically
Q33: An iterator of the iterator type that
Q34: An associative container uses _ to access
Q35: A set is an associative container containing
Q37: Select all that apply. Which of the
Q38: An iterator is a function that is