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

Who was the creator of c++?

1053


What is an orthogonal base class in c++?

1162


what is upcasting in C++?

1189


Why is c++ considered difficult?

1150


Can a program run without main function?

1168


Does std endl flush?

1041


what are the iterator and generic algorithms.

1942


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1035


What's the order in which the local objects are destructed?

1266


Explain the operation of overloading of an assignment operator.

1173


What is the difference between containment and delegation?

1334


What is the difference between delegation and implemented-in-terms-of?

1007


What is late binding c++?

988


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

1096


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

2633