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 static function

Answer Posted / anil bisht

Static member functions have a class scope and they do not
have access to the 'this' pointer of the class. When a
member is declared as static, a static member of class, it
has only one data for the entire class even though there are
many objects created for the class. The main usage of static
function is when the programmer wants to have a function
which is accessible even when the class is not instantiated.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do we have to use initialization list in spite of the assignment in constructors?

936


What is else if syntax?

1105


Define vptr.

981


What is c++ prototype?

1079


When should overload new operator on a global basis or a class basis?

1019


Explain Text Manipulation Routines?

1038


What are pointer-to-members in C++? Give their syntax.

1080


what do you mean by volatile variable?

979


How do you compile the source code with your compiler?

1001


Write about the stack unwinding?

1014


Why c++ is the best language?

1005


What is the real purpose of class – to export data?

1055


What are iterators in c++?

962


Explain what are mutator methods in c++?

1065


What is endianness?

1040