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 / amit

Amit Srivastava:
What i think , static functions are used with the conditions
where there is no need to occupy RAM memory unnecessarily.
As ,other than Static functions are attached with the object
and ready to use memory space as and when a object of that
class is instantiated.But Static functions are having only
one address as they are independent of Objects.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use vector in c++?

1079


What is the prototype of printf function?

1187


Write a program to find the Factorial of a number

1064


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3981


What are default parameters? How are they evaluated in c++ function?

1172


Where and why do I have to put the "template" and "typename" keywords?

1049


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1161


What do you mean by function pointer?

1115


What is the real purpose of class – to export data?

1113


How one would use switch in a program?

1079


In a function declaration, what does extern mean?

1064


Does c++ support exception handling?

1067


Explain explicit container.

1087


Which bit wise operator is suitable for putting on a particular bit in a number?

1213


What do c++ programmers do?

1061