Described virtual destructor?, C/C++ Programming

Described virtual destructor?

Posted Date: 3/16/2013 2:44:26 AM | Location : United States





A: The simple answer is that a virtual destructor is one which is declared along with the virtual attribute. The behavior of virtual destructor is what is significant. If you demolish an object via a caller or reference to a base class, and base-class destructor is not virtual, derived-class destructors are not executed, & destruction may not be complete.

 

Posted by | Posted Date: 3/16/2013 2:44:49 AM


Related Discussions:- Described virtual destructor?, Assignment Help, Ask Question on Described virtual destructor?, Get Answer, Expert's Help, Described virtual destructor? Discussions

Write discussion on Described virtual destructor?
Your posts are moderated
Related Questions
Consider a group of n robots, numbered R2D1 through R2Dn, and m tasks, numbered 1 through m. Tasks can be different and robots are specialized, hence a given robot can only perform

The absolute land-speed record of 763.035 MPH (Mach 1.02) was set in October 15 1997 by a jet-powered car called Thrust SSC in the Black Rock Desert of northern Nevada. The team th

#queComputers are frequently used in check-writing systems, such as payroll and accounts payable applications. Many stories circulate regarding weekly pay- checks being printed (by

WAP TO PRINT SUM=1!+2!+3!+4!+....N! #include stdio.h> #include conio.h>   void main() {                    int n,i;                    float sum=0,fac

how can I write a c++ program that generate all evn numbers less than 1000?

My project is compiling but the equation entered is not working

If you have computed a number (stored as a ?oating-point value) and want to display this on a plot (i.e. as a character string) you have to convert it into a STRING. That is we wan

how would land elevation have changed if Coronado had traveled 150 miles due west from what is today Arizona instead of east toward New Mexico

Write a program that reads data into an array of type int. You must use an array. The numbers input are attendance numbers at a conference. Keep a running average, number of events

pls say code for this above..