What is different between static variable and global variable
Anonymous
static variables when uninitialized are initialized to 0 whereas in case of global variable they are initialized to garbage value
Check out your Company Bowl for anonymous work chats.