An array is also a Data
Structure (the most primitive one):
The data is organized
contiguously in memory.
The operations are assign and
read (just like with variables).
We read the value of an element
in an array like this Array[i].
We assign a value to an element
in an array like this:
Array[i] = 3; where Array is the name of the array, i
is the index of the
element in the array we want to assign a value to and 3 is the value we are putting in
position i of the array
-
-