
What difference between first and second pointer?
object is a variable that points to a NSObject instance.  That instance is located in memory at the address you mark #2.
But, the variable itself has to exist somewhere and it's located at the address you mark #1.
Or, to look at it another way, you can write NSObject *object;.  The content of object is address #2, but the location of object is address #1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With