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...

Difference between Constructors and static constructors?

Answer Posted / ganagdhara c

the normal constructor is use to initialize the data elements of the objects which are either static are non static elements where as thee static constructors are use to initialize the static data elements in the class these static data elements are shared by all the objects of the class type these are created when the first object of the class type was created.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is setf in c++?

1040


How to give an alternate name to a namespace?

1042


Is overriding possible in c++?

946


What is a c++ class?

1042


To what does “event-driven” refer?

1000


What are the differences between java and c++?

1002


How long will it take to learn programming?

987


What is the identity function in c++? How is it useful?

990


What is the function to call to turn an ascii string into a long?

1000


Which is better turbo c++ or dev c++?

1003


What are the various oops concepts in c++?

966


What is the best ide for c++?

1038


What is the difference between reference and pointer?

1094


What is a .h file c++?

986


What are the rules for naming an identifier?

1010