Multiple Choice
To help prevent memory leaks from occurring in C++11, a __________ automatically deletes a chunk of dynamically allocated memory when the memory is no longer being used.
A) null pointer
B) smart pointer
C) dereferenced pointer
D) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: Not all arithmetic operations can be performed
Q22: After the code shown executes, which of
Q23: In C++11 you can use smart pointers
Q24: When you work with a dereferenced pointer,
Q25: If a variable uses more than one
Q27: The weak_ptr can share ownership of a
Q28: With pointer variables you can _ manipulate
Q29: The following statement _ cin >> *num3;<br>A)
Q30: Which of the following statements deletes memory
Q31: What will the following code output?<br>Int *numbers