Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q25: Who can access private data in a
Q26: How many parameters are there in a
Q27: Which of the following would be an
Q28: If obj1 and obj2 are both objects
Q29: Which of the following are valid declarations
Q31: Friend functions are members of the class.
Q32: The following is a properly declared overloaded
Q33: Operators must be friends of the class.
Q34: Friend functions may directly modify or access
Q35: Write the function declaration for a copy