The destructor for a class is called

a. explicitly from the main program
b. when the class is instantiated
c. when the object of the class goes out of scope
d. Only at the end of main

c. when the object of the class goes out of scope

Computer Science & Information Technology

You might also like to view...

Which of the following is/are not placed on the stack during a function call?

) arguments b) local variables c) return values d) memory address of calling statement

Computer Science & Information Technology

The _____  model has become the most popular database model.

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

Computer Science & Information Technology