Is deconstructor overloading possible? If yes then explain and if no
Then why?
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 |
How do you work around them?
What Is A Default Constructor in C++ ?
What is the difference between creating an object, using 'new' and using 'malloc'?
What does it mean to declare a function or variable as static?
Write a program to read two numbers from the keyboard and display the larger value on the screen
Write a C++ Program to Find Sum and Average of three numbers.
Explain what happens when an exception is thrown in C++.
How do you write a function that can reverse a linked-list in C++?
what is the difference between a pointer and a reference?
0 Answers Amazon, Blue Star, C DAC,
Write a C++ Program to Find whether given Number is Odd or Even.
What is name mangling/name decoration?
When must you use a constructor initializer list?