What about Virtual Destructor?



What about Virtual Destructor? ..

Answer / guest

Virtual Destructor can be called at runtime and respected
destructor function will be called depending upon the type
of object calling to.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is Memory Alignment?

2 Answers   TCS,


what is the use of Namespace in c++.

3 Answers  


What is atoi in c++?

0 Answers  


What is the difference between structure and class?

0 Answers  


Why is null pointer used?

0 Answers  






Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


Disadvantages of c++

8 Answers   HCL,


What are shallow and deep copy?

0 Answers  


What is meant by reference variable in C++?

1 Answers  


Is it possible to provide default values while overloading a binary operator?

0 Answers  


What is the output of the following program? Why?

0 Answers  


When does the c++ compiler create temporary variables?

0 Answers  


Categories