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

all the static memebers are created at the time of class
definition and rest all non static memebers are created
when object is created of that class. member functions are
also create in memory when class is defined. (However only
single copy of static data members and functions is created)

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How come you find out if a linked-list is a cycle or not?

989


Explain the difference between new() and malloc() in c++?

1071


Is multimap sorted c++?

955


What is a catch statement?

987


What is using namespace std in cpp?

1067


What is virtual destructor ans explain its use?

1078


Are vectors faster than arrays?

960


What is encapsulation in c++ with example?

956


What do you understand by a pure virtual member function?

942


When you overload member functions, in what ways must they differ?

990


What can I use instead of namespace std?

1076


What do you mean by function and operator overloading in c++?

996


What are the data types in c++?

886


What is the difference between global int and static int declaration?

955


What is c++ code?

1074