Accessing elements from a one-dimensional array
Access to each element of the array is done by its name followed by its index (that is, the position it occupies in the array) in square brackets [ ]
In the C++ language, array indexes start counting from 0 and end at N – 1 (where N is the total number of elements)
The first element in the vector has index zero. (Some teachers teach students in class that counting starts from 1 - DON'T DO THAT).