Which of the following should be virtual if a base class uses dynamic memory allocation?

a. the constructor
b. the copy constructor
c. the print function
d. the destructor


d. the destructor

Computer Science & Information Technology

You might also like to view...

Return type ____________ indicates that a method will not return any information when it completes its task.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In a quicksort algorithm, the iterative approach requires a data structure called a(n) ____.

A. stack B. merge C. activation record D. big-O

Computer Science & Information Technology

A graphic designed for advertising, sometimes called a(n) ______, needs to catch a customer's eye.

A. advertising graphic B. promotional graphic C. advertising piece D. promotional piece

Computer Science & Information Technology

On-the-job training is a form of one-to-one training.

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

Computer Science & Information Technology