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 setw manipulator in c++?

1027


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6351


What do nonglobal variables default to a) auto b) register c) static

1106


What is the best book for c++ beginners?

988


What is pure virtual function?

1026


Which is not a valid keyword a) public b) protected c) guarded

1200


Explain the properties and principles of oop.

966


What is general form of pure virtual function? Explain?

953


How to allocate memory dynamically for a reference?

1003


How many ways can a variable be initialized into in C++?

977


What is setbase c++?

1062


What are the two types of comments?

947


What is a buffer c++?

998


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

978


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1021