C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is a static function?

0 votes
20 views
asked by rock Expert (14,990 points)

1 Answer

0 votes
A static function is a function whose scope is limited to the current source file. Scope refers to the visibility of a function or variable. If the function or variable is visible outside of the current source file, it is said to have global, or external, scope. If the function or variable is not visible outside of the current source file, it is said to have local, or static, scope.
answered by sunny Expert (11,410 points)

Related questions

0 votes
1 answer 37 views
37 views asked by sara Guru (24,570 points)
+1 vote
1 answer 221 views
0 votes
2 answers 18 views
18 views asked by john Guru (27,140 points)
0 votes
1 answer 30 views
30 views asked by daniel Advisor (5,600 points)
...