Question d’entretien chez WD

What does static mean in C?

Réponse à la question d'entretien

Utilisateur anonyme

22 nov. 2019

A static variable is one whose lifetime is bound by the program. To me, I treat it like a scoped global variable. Also static functions are those which are scoped to the object file. This means that I can re-declare functions in different files as long as they are static.