previous
|
index
|
next
C++ Arrays
Once created, array elements are accessed through
indexed subscripts
:
v[0]
the first element
v[1]
the second element
v[9]
the tenth element
You must be sure that for any array index
i
and array size
n
,
0 ≤
i
≤
n
-1
previous
|
index
|
next