Program output

The program in Listing 5 displays the following output on the screen.

Object's address = 00481E10
Local variable's contents = 0
Local variable's address = 0012FEC8
Local variable's contents = 6
Local variable's contents = 6

(Note that the addresses may be different each time that the program is run.)