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 the order of initialization for data?

Answer Posted / avi

Data members of a class are initialized in the order they
are declared in class. in case class is derived from some
base class then the base class will be initialized first
followed by the derived class.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

1001


Which c++ operator cannot overload?

958


What are libraries in c++?

1024


What is string in c++ programming?

1127


What does obj stand for?

1104


Explain the register storage classes in c++.

1163


What is constant in c++ with example?

1102


What are c++ templates used for?

1099


Is there finally in c++?

1047


Is c++ vector dynamic?

1038


Explain shallow copy?

1006


Why iomanip is used in c++?

1097


If I is an integer variable, which is faster ++i or i++?

1035


What is stl containers in c++?

1013


What are the general quetions are in DEna bank manager IT/System interviews?

1980