Cisco interview question

What is different between static variable and global variable

Interview Answer

Anonymous

31 July 2012

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