A destructor is a member function that

A) is used to remove old unneeded objects.
B) causes the program to end.
C) is automatically called when an object is destroyed.
D) can only be called by the main function of a program.
E) None of the above.

C) is automatically called when an object is destroyed.

Computer Science & Information Technology

You might also like to view...

A5 and E10 are examples of a range

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following functions required no parameters?

A) Sum B) Trim C) Avg D) Date

Computer Science & Information Technology