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


b. smart pointer

Computer Science & Information Technology

You might also like to view...

In the figure above, the Character setting section of the Property inspector is showing the settings for the ____.

A. stage B. user's screen C. text block D. green bar

Computer Science & Information Technology

Data type conversions take place across assignment operators.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following cross-site scripting vulnerabilities types relies on social engineering to trick a user into visiting a maliciously crafted link or URL?

A. reflected B. injected C. unvalidated D. Stored

Computer Science & Information Technology

What kind of function tells you where a dictionary entry is currently or will be placed if it is new?

a. hash function b. logarithmic function c. interrogatory function d. big O function

Computer Science & Information Technology