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
Write a function to accept a character and display it 40 times.

1)      Factorial (for this question just provide an answer for each part)  1.1  Debug the following program to calculate N! #include using namespace std; main()

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

The rPeANUt simulator provides buffering of the characters that are typed into the terminal. However, this would generally not be the case so if the program did not consume a chara

What happens if you write following code? string& foo()

how many values we can return from pointer to function?

Given an integer n and a permutation of numbers 1, 2 ... , n-1, n write a program to print the permutation that lexicographically precedes the given input permutation. If the given

This problem familiarizes you with using random numbers in C++. The program is to compute a good approximation of p using a simulation method called "Monte Carlo". The following fi

I need to include files so you can understand easier.