Pointer
Think of it as a house number. The number isn’t the house — it just tells you where to find it.
x ──> [ 42 ]
0x1a2b
x holds the address.
0x1a2b is where 42 actually lives.
Think of it as a house number. The number isn’t the house — it just tells you where to find it.
x ──> [ 42 ]
0x1a2b
x holds the address.
0x1a2b is where 42 actually lives.