Basic and Advance C Question:

Download Job Interview Questions and Answers PDF

What is a static function in C?

C Programming Interview Question
C Programming Interview Question

Answer:

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.

Download C Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is a pointer variable in C language?What is a pointer value and address in C?