๐Ÿ’ปap computer science a review

1D Arrays

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A one-dimensional (1D) array is a linear collection of elements stored in contiguous memory locations. It allows storing multiple values under one name and accessing them using indices.

"1D Arrays" also found in: