Pregunta de entrevista de WD

What does static mean in C?

Respuesta de la entrevista

Anónimo

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.