Is deconstructor overloading possible? If yes then explain and if no
Then why?



Is deconstructor overloading possible? If yes then explain and if no Then why?..

Answer / hrpynux@gmail.com

No, we cannot overload a destructor of a class in C++ programming. Only one empty destructor per class should be there.So, multiple destructor with different signatures are not possible in a class. Hence, overloading is also not possible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

What does malloc return in C and C++?

0 Answers   Alter,


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


Write a program that can take input from 3 to 8 and calculate the average?

0 Answers   Accenture,


What kind of problems does name mangling cause?

0 Answers   Amazon,






Write a C++ Program to Find Sum and Average of three numbers.

1 Answers  


What are the advantages/disadvantages of using inline and const?

0 Answers   Amazon,


What Is Polymorphism in C++ ?

1 Answers   IBS, Impetus, ITC Indian Tobacco Company, Motorola,


what is a pragma in C++?

0 Answers   Aspire,


What does it mean to declare a member function as virtual in C++?

0 Answers   Amazon,


Explain about Searching and sorting algorithms with complexities

0 Answers   Accenture,


Write a C++ Program to find Square Root of a number using sqrt() function.

1 Answers  


Categories