Accessing an Array
Learn how to access and update the elements stored in an array.
We'll cover the following...
Array traversal
We can access the elements stored in an array by writing the array name, which is followed by its index in the square brackets.
The first element of an array is stored at index 0, and the last element is stored at index size-1. Array[0] refers to the first element in an array. Array[1] ...