Why does this code give two different memory addresses?

Printable View