I am using c++ under 64 bit linux, the compiler (g++) is also 64 bit. When I print the address of some variable, for example an integer, it is supposed to print a 64 bit int
For fun you could use the C output and see if it's more like what you're after:
printf("0x%p");