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 |
What is the difference between malloc, calloc and realloc?
Write a syntax and purpose of switch statement.
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
What is C++11?
Difference between Call by pointer and by reference.
Explain about Searching and sorting algorithms with complexities
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
If class D is derived from a base class B
What does malloc return in C and C++?
How can you force the compiler to not generate them?
What do you by Function Overloading in C++?
0 Answers Akamai Technologies, Infogain,
Write a program to read two numbers from the keyboard and display the larger value on the screen