![]() |
![]() |
![]() |
![]() |
![]() |
|
In the following, for example, a 2-byte pointer variable identifies a chunk of memory that contains the address of an integer object:
*----- Pointer variable identifies the address of a chunk of
| memory containing a pointer to an integer object
|
| *----- Number stored in these 2 bytes is 88
| |
v v
-----------------
----*--------*--------*--
|00000000|01011000|
---*--------*--------*-----
24 25 26 27
-----------------
|
| Number 88 refers to address of the byte where memory
| is allocated for an integer object
|
| *----- 4 bytes of reserved storage
| |
v v
-------
-*-*-*-*-*-*-*-
| | | | | |
-*-*-*-*-*-*-
^ ^
| |
88 92