Scope of static variables?

Scope of static variable is within the file if it is static global. Scope of static variable is within the function if variable is declared local to a function.
But the life time is throughout the program

Category: Embedded Systems Interview Questions.