|
/* Put the value 42 into array g at index 3 */
|
|
g[3] = 42
|
|
/* Look at some other elements in g */
|
|
g[2]
|
|
0
|
|
g[4342]
|
|
0
|
|
/* Look at the elements of another array */
|
|
a[543]
|
|
0
|
|
/* Array names don't conflict with names of ordinary (scalar) identifiers */
|
|
g
|
|
0
|
|
g = 123
|
|
g
|
|
123
|
|
g[3]
|
|
42
|