Writing to Arrays
Learn how to store values in an array after it has been declared as well as at the time of declaration.
We'll cover the following...
Assigning values to array cells
A memory location indexed by an array (for examples grades[3]
) is called a cell of that array. Just like we index an array to retrieve the value stored in it, we can also write to the same cell.
We can assign ...