Which of the following is the destructor for the class Vehicle"
A
*vehicle ()
B
*vehicle (int value)
C
~ Vehicle ()
D
~ vehicle (intvalue)
Correct Answer: ~ Vehicle ()
A destructor class is a special member function of a class that is executed whenever an object of it’s class goes out of scope or whenever the delete expression is applied to a pointer to the object of that class.