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 the use of static functions?

Answer Posted / khan

Static member functions give internal linkage. The function
declared as static is not visible outside the file in which
it is declared. It is not associated with "this" pointer and
it can be invoked using class name instead of depending on
individual object. It can access only static members of the
class.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program which uses functions like strcmp(), strcpy()? etc

1093


What is the rule of three?

996


Is empty stack c++?

990


Why is c++ a mid-level programming language?

1036


Can a class be static in c++?

1091


What is the best c++ book for beginners?

1145


What does namespace mean in c++?

1073


Describe Trees using C++ with an example.

1149


Explain the difference between class and struct in c++?

1035


What are the advantages of using friend classes?

1144


What are vtable and vptr?

1140


What are the advantages of using const reference arguments in a function?

1074


Explain the extern storage classes in c++.

1048


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2690


What is istream c++?

1185