Pergunta de entrevista da empresa Morgan Stanley

What does the static keyword in C do?

Resposta da entrevista

Sigiloso

11 de fev. de 2012

Static variables are initialized at the compile time, unlike automatic/local variables who are initialized at run time. static variable's initial value will remain same throughout the compile time unless you forcefully change them.