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

How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


What is virtual destructor ans explain its use?

0 Answers  


Explain the difference between static and dynamic binding of functions?

0 Answers  


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

0 Answers  


What is the oldest programming language?

0 Answers  






Is string an object in c++?

0 Answers  


Why do we use pointers in c++?

0 Answers  


What is searching? Explain linear and binary search.

0 Answers  


What is the difference between #import and #include in c++?

0 Answers  


Is structure can be inherited?

5 Answers   HP, ST Micro,


How const int *ourpointer differs from int const *ourpointer?

0 Answers  


Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables

2 Answers   BirlaSoft, Crayonz,


Categories