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...

why all c++ program must have default constructor?

Answer Posted / jayakrishna

In c++ we have constructors for initialising the values for
the variables where destructors are present in order to
deallocate the the memory after completion of the work.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism in c++? Explain with an example?

1023


Explain polymorphism?

1068


State the difference between delete and delete[].

1098


Is swift faster than go?

1086


Describe new operator and delete operator?

1065


Why do we learn c++?

954


What is the cout in c++?

1042


Is c# written in c++?

968


What is a terminating character in c++?

1375


What is namespace std; and what is consists of?

1283


Why is c++ a mid-level programming language?

1025


What are the various storage classes in C++?

1126


What are c++ stream classes?

1042


What is difference between malloc()/free() and new/delete?

1155


How to tokenize a string in c++?

1045