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

What is virtual table?

1131


Explain what are mutator methods in c++?

1124


What is a class template?

1090


What are structs in c++?

1042


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

1136


Where and why do I have to put the "template" and "typename" keywords?

1055


Can you pass an array to a function in c++?

1013


What is lambda in c++?

1242


What is const pointer and const reference?

1172


Write a recursive program to calculate factorial in c++.

1085


What are c++ manipulators?

1082


what are the characteristics of Class Members in C++?

1051


Incase of a function declaration, what is extern means?

975


Is it possible to use a new for the reallocation of pointers ?

1066


How we can differentiate between a pre and post increment operators during overloading?

1111