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
What is methods in c?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
Write programs for String Reversal & Palindrome check
Why & is used in scanf in c?
Can a variable be both static and volatile in c?
Do you know null pointer?
Explain what is wrong with this program statement?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
How can I sort more data than will fit in memory?
Why main is used in c?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What are identifiers c?
What are the 5 elements of structure?
How do you list files in a directory?
Explain how can I convert a number to a string?