Arrays

Learn about arrays in detail.

Arrays are data structures that have a fixed set of identically typed items with a unique index for each. Instead of creating many distinct variables of the same type, we simply declare one array of the required size, place the items in the array, and then use the index to access the array’s members. The lowest index in an array represents the first element, while the highest index represents the last element.

Get hands-on with 1400+ tech skills courses.