please take a look of this program, how can this be explained?
Code:
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
const int i=0;
int * j=(int*)&i;
const int k=0;
int * u=(int*)&k;
*j+=1;
*u+=1;
cout<<i<<" "<<*j<<endl;
cout<<&i<<" "<<j<<endl;
cout<<k<<" "<<*u<<endl;
cout<<&k<<" "<<u<<endl;
system("pause");
return 0;
}