Question

Q3[C++11]: Which of the following statements about a unique_ptr object is true?
a. A unique_ptr is a "smart pointer" for managing dynamically allocated memory.
b. When a unique_ptr goes out of scope, its destructor automatically returns the managed memory to the free store.
c. You must explicitly delete the memory that's managed by a unique_ptr before the object goes out of scope.
d. All of the above.

Answer

This answer is hidden. It contains 90 characters.