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
Q28: Because a vector container uses a dynamically
Q29: When an element is stored in a
Q30: To use the binary_search() algorithm you need
Q31: Select all that apply. Which of the
Q32: To use the map class, you must
Q33: Select all that apply. Which of the
Q35: Which of the following defines an array
Q36: A technique introduced by C++11 to improve
Q37: Select all that apply. An object of
Q38: A sequence container that is dynamic in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents