Learn about arrays in C++ with examples. An array is a set of values of the same data type stored in contiguous memory locations.