C Programming Static Functions

Last modified by Microchip on 2023/11/09 09:06

If A Function Is Declared As Static

Static functions are local to the file in which they are defined. They are not globally visible at all. Even if you include a function prototype in a file, it will not be able to access the static function. Only functions within the static functions file may call it.

Static function .c sample code