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
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Explain what are multibyte characters?
What is the size of a union variable?
What is an auto variable in c?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is return in c programming?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
what are the advantages of a macro over a function?
What is the difference between local variable and global variable in c?
how many errors in c explain deply
What is difference between constant pointer and constant variable?
Explain what standard functions are available to manipulate strings?
Can we use any name in place of argv and argc as command line arguments?
Differentiate abs() function from fabs() function.
How can I list all of the predefined identifiers?