Answer Posted / 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 View All Answers
How many different levels of pointers are there?
How do you flush a buffer in c++?
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?
Is dev c++ free?
Explain rethrowing exceptions with an example?
Explain rtti.
What is the difference between global int and static int declaration?
what is upcasting in C++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Write a recursive program to calculate factorial in c++.
Explain the extern storage classes in c++.
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
Why can templates only be implemented in the header file?
Which software is best for programming?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()