Pergunta de entrevista da empresa Cisco

What is different between static variable and global variable

Resposta da entrevista

Sigiloso

31 de jul. de 2012

static variables when uninitialized are initialized to 0 whereas in case of global variable they are initialized to garbage value