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 |
Can we call C++ OOPS? and Why
It is possible to build a C++ compiler on top of a C compiler. How would you do this?
What is Copy Constructor?
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
How to generate random numbers in C++ with a range?
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Explain why C++ is not purely Object Oriented Language
Do you know about Agilent PRECOMPILERS. ?
Explain what happens when an exception is thrown in C++.
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,
What is the difference between virtual functions and pure virtual functions?