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 and static class?

Answer Posted / anthony michael

Static function and static variable does not below to single
instance of a class.

To access static functions we don't need instance of a class
instead it can be accessed using the class name followed by
::operator as:
[class_name::static_function() ]

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c++ have foreach?

1125


Can we get the value of ios format flags?

1182


Difference between class and structure.

1218


What is meant by forward referencing and when should it be used?

1069


Is it possible for the objects to read and write themselves?

1161


What is the use of endl?

1031


What do you mean by vtable and vptr in c++?

1094


What are the basics of local (auto) objects?

1189


What are different types of loops in c++?

1175


What is the full form of dos?

1240


How did c++ start?

1149


Do you need a main function in c++?

1162


What does it mean to declare a member function as static?

1106


What is the difference between while and do while loop? Explain with examples.

1159


What are friend functions in C++?

1115