In the case 1, the compiler automatically assign zero or null value to "a" variable . so the output will be zero.
CASE 2: I used pointers to print the value of "a" variable.
int a, *i = &a;
In the case 2, the output is "32767". my question is, why the compiler does'nt assign "zero" value for the "a" variable.
every time i run the case 2 program, it prints the same "32767" value and the value does'nt change. i think its not memory address.
please explain about this problem, thank you.