If a program throws an exception before delete has been called on a pointer, it creates a memory leak. After an exception is thrown, a(n) ________ destructor will still be called, which calls delete on the pointer for you.

a. reference’s
b. inherited
c. smart pointer’s
d. virtual


c. smart pointer’s

Computer Science & Information Technology

You might also like to view...

Today’s CISC processors are similar to RISC processors in that they include __________.

a) multiple execution units for superscalar execution b) on-chip floating-point and vector coprocessors c) an optimized core subset of simple instructions to which all complex instructions are decoded d) infrequently used instructions

Computer Science & Information Technology

The Display Record Count server behavior provides information in the ‘Records x to y' format.

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

Computer Science & Information Technology

Which of the following statements is false?

a. You filter elements to produce a stream of intermediate results that match a predicate. b. IntStream method filter receives an object that method that takes one parameter and returns a boolean result. c. If the result of calling filter's argument is true for a given element, that element is included in the resulting stream. d. All of the above statements are true.

Computer Science & Information Technology

The average difference between the trend line and the data points is summarized in a calculated value called the ________ value

A) dimensional B) slope C) R-squared D) extrapolation

Computer Science & Information Technology