PAUSE
UTERMINAL
TERMINAL
NEXT
$V1$
ENCORE5
ENCORE
BOX
ILLUSTRATION
GO
A 1-dimensional array in C with 4 elements may be viewed as
having the physical representation shown above:
_________________
| | | | |
|___|___|___|___|
ar_1d[]
A 2 dimensional array in C with 4 rows and 3 columns may be
viewed as shown above:
_____________
| | | |
|___|___|___|
| | | |
|___|___|___|
| | | |
|___|___|___|
| | | |
|___|___|___|
ar_2d[4][3]
A multi-dimensional array would be based in
the underlying coordinated space, eg. 3-D!
Y
^
|
|
|
|
|
|
|-----------------> X
/
/
/
/
/
/
Z