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 #include math h in c++?

1074


What is meaning of in c++?

1211


Can comments be nested?

1023


What is c++ similar to?

1184


What does ctime() do?

1120


Should I learn c or c++ first?

1124


Why cstdlib is used in c++?

1037


How can you quickly find the number of elements stored in a dynamic array?

1047


What is a manipulative person?

1006


What is a container class? What are the types of container classes in c++?

1252


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1107


What is #include c++?

1126


Can user-defined object be declared as static data member of another class?

1019


How many types of modularization are there in c++?

1077


What return value must conversion operators have in their declaration?

1083