Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is virtual constructor paradigm?

Answer Posted / priyanka kokil

A virtual destructor is one that is declared as virtual in
the base class and is used to ensure that destructors are
called in the proper order. It is to be remembered that
destructors are called in the reverse order of inheritance.
If a base class pointer points to a derived class object
and we some time later use the delete operator to delete
the object, then the derived class destructor is not called.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Program to check whether a word is a sub-string or not of a string typed

2085


What is class and structure in c++?

1254


What is c++ stringstream?

1175


What is the this pointer?

1165


Why is "using namespace std;" considered bad practice?

1143


Is java a c++?

1104


What is a virtual destructor? Explain the use of it?

1031


Write a recursive program to calculate factorial in c++.

1141


Does c++ have string data type?

1163


Is c++ fully object oriented?

1019


What is data structure in c++?

1192


What is c++ hiding?

1302


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

2118


Difference between declaration and definition of a variable.

1231


Why should you learn c++?

1063