What is Array?

Category: Programming

1Definition

A data structure that stores multiple elements of the same type in contiguous memory.

2Context

Fundamental data structure. Enables efficient access to elements by index.

3Example

An array of prices might store [10.99, 15.99, 7.99] for three products.

Common Trap

Arrays have fixed size in many languages—use dynamic structures when size varies.

Related Terms

More Programming Terms

Look up any term instantly

Get clear definitions without the jargon

Try WhatIsIt.ai