Hello.
I have a question about Const Int and Points
I have this code
const int j=18;
int *k= (int)&j;
*k=110;
printf("Data: %d -> %d; %d : %d-> %d\n", &j, j, k, &k, *k);
this well return for me
Data: 2280676 -> 18; 2280676 : 2280672-> 110
but if i remove "const" well i have
Data: 2280676 -> 110; 2280676 : 2280672-> 110 this work.
But how can same memory address have two int ( 18 and 110 )
Can somebody tell me how this are possible?