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 / aavesh yadav

Static functions are functions which can access only static
variables and local variables.It can be called by class
name bcoz it is specific for a class in which it is
defined,not for any specific object of that class.It can
not be inherited also.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

2156


Discussion on error handling of C++ .

1161


Should the member functions which are made public in the base class be hidden?

1076


Explain rethrowing exceptions with an example?

1076


What is the difference between global int and static int declaration?

1151


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1112


Describe new operator and delete operator?

1140


How to get the current position of the file pointer?

1101


Explain the difference between struct and class in terms of access modifier.

1223


Why is standard template library used?

1104


How we can differentiate between a pre and post increment operators during overloading?

1154


What is the extraction operator and what does it do?

1124


How do you declare a set in c++?

1014


What is c++ runtime?

1153


Who was the creator of c++?

1106