Multiple Choice
A unique_ptr automatically calls ________ to free its associated dynamic memory when the unique_ptr is destroyed or goes out of scope.
A) release
B) destroy
C) erase
D) delete
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q20: When the reference count reaches zero, the
Q21: The internal pointer is deleted once the
Q22: Which statement is false:<br>A) A weak_ptr points
Q23: A common example of a variadic template
Q24: A tuple's _ copies a tuple's elements
Q26: Shared_ptrs use _ counting to determine how
Q27: Prior to C++11 the following code created
Q28: Which of the following statements about regular
Q29: C++11 enables you to define functions and
Q30: The _ operator is particularly useful when