I checked this in both VS and CodeBlocks. CodeBlocks showed me the same address over and over but in VS the address changed every time I ran my program.
int main()
{
int x, * p;
x = 5;
p = &x;
cout<<"the address of "<< *p <<" is : " << p << endl;
}