7.1: Introduction to Arrays
Read this chapter, which introduces arrays, a common data structure used to store data of same type.
An array is a data structure that can contain a fixed number of values of a single type. The length of an array, i.e., the number of elements the array can hold, is established when the array is created.
One-dimensional array occupies a consecutive block of memory. Each element in the array can be accessed through an index. The range of the index goes from zero to the size of the array minus one. A for loop is commonly used to initialize the values in a two-dimensional array.
Read this tutorial, which explains how to create, initialize, and access arrays.