First page Back Continue Last page Graphics
Chapter 04 (cont.)
Accessing a normal variable X = 12
- look up X's address in the symbol table (compiler does this)
- Into the location at that address, store 12.
Accessing a pointer variable (X_ptr = &X;) *X_ptr = 12
- look up the address stored in X_ptr (at run time)
- Into the location at that address, store 12.