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...

The command to reduce a file size and to recover the original file is

a: compress Xfile and uncompress Xfile b: compressed Xfile and decompressed Xfie c: comp Xfile and uncomp Xfle d: compress Xfile and compress Xfile e: all of the above

Computer Science & Information Technology

To physically connect a workstation to a LAN requires a

A. file server B. network interface card C. multiplexer D. bridge

Computer Science & Information Technology