← Back to question

Answer explained

What is an array?

An array is a fixed-size, contiguous, indexed collection of elements of one type. C++ indexing starts at 0 and `a[i]` gives direct access.