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
Hi, I need quick sort program without using recursion

I have to make a program that allow the user input 10 numbers between 10 and 100 and if the number input is the same than the last number, should appear an error message. I have th



what is the first thing I need to know about Programming?

Mathematical Statements and assignments    Within C we can directly load up the variable from within the program using the mathematical expression equates (=) e.g.   a= 'h'

Binary Options EA for DirectFX and SignalPush Project Description: I want a programmer who will build an EA based on my three types of Binary strategy's using two Indicators.

find the occurence of zy in the final string

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

What is MIME? MIME - Multi-purpose Internet Mail Extensions. MIME types signifies a standard way of classifying file types over Internet. Browsers and Web servers have