Why in this code compiler does not show error Use of unassigned local variable
when taking the address of that variable?
int i;
int* p = &i; // Use of unassigned local variable i ?
int j = *p; // j = 0
j = i; // both valid
This will compile fine and the value of j
will be 0.