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

Verified
Correct Answer:
Verified
Related Questions
Q26: Accessors are sometimes called _ functions and
Q28: A constructor may have a return type
Q29: A structure variable is similar to a
Q30: member function may be called by a
Q32: Objects permit data hiding. This means they
Q33: In C++ and other object-oriented programming languages,
Q33: If Circle is the name of a
Q34: If Square is the name of a
Q35: A class may have default constructor(s)and destructor(s).<br>A)more
Q36: Public members of a class object can