C Interview Questions and Answers

 

What is a static function in C?

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.

Posted by:Richards