What about virtual destructor?, C/C++ Programming

What about Virtual Destructor?

 

 

Posted Date: 3/15/2013 3:52:38 AM | Location : United States





What about Virtual Destructor?

A: Yes there is a Virtual Destructor. A destructor can be virtual as this is possible as at runtime based on the type of object caller is calling to, correct destructor will be called.

 

Posted by | Posted Date: 3/15/2013 3:53:20 AM

What about Virtual Destructor?

A: Yes there is a Virtual Destructor. A destructor can be virtual as this is possible as at runtime based on the type of object caller is calling to, correct destructor will be called.

 

Posted by | Posted Date: 3/15/2013 3:53:40 AM


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

Write discussion on What about virtual destructor?
Your posts are moderated
Related Questions

source code for padovan string

Program is to read the contents of a file: void main()    {   ifstream fin("ascii.txt");   char ch;   while(! fin.eof())     {   fin>>ch;   cout     }

Goals For this assignment you will write programs in C and LC-3 assembly code. Both programs will perform the identical recursive algorithm. The goals of this programming assignmen

Purpose For this assignment you will need to create either a function list or a record series for a CRCRS. Instructions Note: Complete only one of the two assignment op

write an algorithm that reads a postive integer n and then finds and prints the sum of all integers between 1 and n (inclusive) that are disvisible by 7. please write this using c

Question 1: (a) Describe the following objects and condition states: (i) ifstream and ofstream objects (ii) eof(), fail(), bad() and good() functions. (b) Write a C++ pr


3 . Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

Write a program that predicts users’ age (0-128 years old) with at most 7 questions. The game starts with asking the user whether he/she is younger or older than G (an initial gues