Dynamic int pointer address?

I have been confused about displaying the address of a dynamic integer.
When I output ptr and &ptr I receive two different addresses, however I am unsure about which address is correctly pointing to the value of the pointer.