Actually my compiler tells me about using uninitialized variables.then the compiler will tell nothing,but i is uninitialized
Jimmain.c||In function ‘main’:|
main.c|4|warning: variable ‘a’ set but not used [-Wunused-but-set-variable]|
main.c|5|warning: ‘i’ is used uninitialized in this function [-Wuninitialized]|
||=== Build finished: 0 errors, 2 warnings ===|