2
Answers

Why does this print 0 even when i is neither a global variable nor a s

Photo of Gopal

Gopal

4y
542
1
int i; Printf("%d\n", i); Why does this print 0 even when i is neither a global variable nor a static int ? Also if I increment before printing, it prints 1

Answers (2)