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 / varsha

Default constructor and destructor gice compilers a place to
hide the code such as invocation of contructors of Base
classes and non static data members.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a template in c++?

1825


What is ios class in c++?

1106


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1934


What is the difference between #import and #include?

1049


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

1002


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

996


Tell me can a pure virtual function have an implementation?

1022


Define what is constructor?

1053


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1259


What is the use of function pointer?

1015


How should runtime errors be handled in c++?

1140


What does ctime() do?

1118


What do you mean by vtable and vptr in c++?

1041


What is the difference between structures and unions?

1056


Explain what happens when a pointer is deleted twice?

1247