Overloading of destructor, C/C++ Programming

Assignment Help:

Is Overloading of Destructor possible?


Related Discussions:- Overloading of destructor

Explain static class members, Static Class Members As we already know a...

Static Class Members As we already know all the objects of the class have dissimilar data members but invoke the similar member functions. Though, there is an exception to this

Array, write a function that take as parameters an array of integer and its...

write a function that take as parameters an array of integer and its size and return the sum of its value

Sdsds, Given an integer n and a permutation of numbers 1, 2 ... , n-1, n wr...

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

Algorithm, for different operation multiple stack

for different operation multiple stack

Virtual destructor, What about Virtual Destructor? describe it.

What about Virtual Destructor? describe it.

Logic, to calculate the amount to be paid by a customer buying yummy cupcak...

to calculate the amount to be paid by a customer buying yummy cupcakes for his birth day party

Programming Exercise 3, I have an exercise with 2 problems. One that is par...

I have an exercise with 2 problems. One that is partially completed except with read problems with memory overwrite, and the other problem. I have enclosed the instructions documen

Edward

2/13/2013 1:35:46 AM

No.  You can have just only one destructor for a class Fred. It is always called Fred:: ~Fred (). It never takes any type of parameters, and it never returns anything.   

You can''t pass parameters to the destructor anyway, as you never explicitly call a destructor (well, almost never).

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd