Multiple Choice
As of C++11, you can ask a vector or deque to return unneeded memory to the system by calling member function shrink_to_fit. This requests that the container reduce its capacity to the number of elements in the container. According to the C++ standard, implementations can ignore this request so that they can perform implementation-specific optimizations.
A) minimize_memory
B) shrink_to_fit
C) reduce_capacity
D) squeeze_to_size
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Unlike a vector, a deque:<br>A) Provides efficient
Q7: The multiset associative container does not:<br>A) Need
Q8: Which of the following is the correct
Q9: The main difference between set and multiset
Q10: Which of the following is not a
Q12: Which of the following is a difference
Q13: Which of the following is not a
Q14: Which of the following containers is not
Q15: If a program attempts to insert a
Q16: Which of the following statements is true