Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q13: To prevent class objects from being copied:<br>A)
Q14: Which statement is false?<br>A) Based on whether
Q15: Conversion constructors:<br>A) Can have multiple arguments.<br>B) Can
Q16: A copy constructor:<br>A) Is a constructor with
Q17: Which of the following is false?<br>A) A
Q19: Assume that the function call operator() is
Q20: Which of the following is false about
Q21: The correct function name for overloading the
Q22: The prototypes of overloaded cast operator functions
Q23: Which situation would require the operator to