adplus-dvertising
CPP MCQ
How destructor overloading is done?
A)
No chance for destructor overloading
B)
By changing the parameters type
C)
By changing the number of parameters
D)
By changing both the number of parameters and their type

Correct Answer : Option (A) :   No chance for destructor overloading

Explanation : A class is allowed to have only one destructor. Therefore there is no point of destructor overloading.