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

What is data types c++?

1065


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

1056


Why is c++ considered difficult?

1219


What is #include iostream h in c++?

1221


How would you use the functions memcpy(), memset(), memmove()?

1142


What is the purpose of extern storage specifier?

1252


What is enum class in c++?

1316


What is null pointer and void pointer?

1117


What are files in c++?

1088


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

2367


What is the basic structure of a c++ program?

1192


Are c and c++ different?

1027


Do you know the use of vtable?

1183


What are the advantages of early binding?

1115


Who created c++?

1113