In C you can have external static variables that are viewable every where in the file, while internal static variables are only visible in the function but is persistent
A simple use for this is that a function can know how many times it has been called.