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 a static function

Answer Posted / abdur rab

Static functions in C
======================
If API's are developed using C and there are few functions
which the user of the API need not know about them, make
that function as static. The static function in C is
visible only inside the file where in it is declared and
defined.

Static functions in C++
========================
Unlike other member function, a static function is always
stuck with its class rather than the instance. The other
memeber functions are stuck with their objects.

A static function can be accessed without creating an
instance, since it is available with the class itself.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2022


How is a null pointer different from a dangling pointer?

974


Is javascript based on c?

998


What is break in c?

984


What language is windows 1.0 written?

988


Why is it that not all header files are declared in every C program?

1145


What are enums in c?

1116


What are the 4 types of organizational structures?

1031


What is the difference between exit() and _exit() function in c?

1018


What is difference between array and structure in c?

1092


How can you convert integers to binary or hexadecimal?

979


What is LINKED LIST? How can you access the last element in a linked list?

1019


Explain what is the difference between the expression '++a' and 'a++'?

1153


Is main an identifier in c?

1086


What does the characters “r” and “w” mean when writing programs that will make use of files?

1422