Overloading of destructor, C/C++ Programming

Assignment Help:

Is Overloading of Destructor possible?


Related Discussions:- Overloading of destructor

When should you use multiple inheritance, There are 3 acceptable answers: "...

There are 3 acceptable answers: "Never," "Rarely "and" When the problem domain cannot be accurately modelled any other way."

Computes the area of a circle of radius r, (a) Write a procedure called (ar...

(a) Write a procedure called (area-of-rectangle h w) that computes the area of a rectangle of height h and width w. (b) Write a procedure called (area-of-circle r) that computes

Wap to swap the three digit number, WAP TO SWAP THE THREE DIGIT NUMBER ...

WAP TO SWAP THE THREE DIGIT NUMBER void main () { int b,r,n,r1,r2; clrscr (); printf ("Enter the Value: "); scanf ("%d",&n); r=n%10; n=n/10; r1=n%10;

Can copy constructor admit an object of the same class , Can copy construct...

Can copy constructor admit an object of the same class as parameter, rather than reference of the object?

Tower of hanoi, application problem of tower of hanoi

application problem of tower of hanoi

C programming, a c program to find the volume of sphere

a c program to find the volume of sphere

Computer, Is computer an intelligent machine?

Is computer an intelligent machine?

C++, how do i write a c++ program that will input a number and output its f...

how do i write a c++ program that will input a number and output its factorial using the while loop

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