Multiple choice

Array elements are always stored in contiguous memory locations.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Arrays in C/C++ are stored in contiguous memory locations. This means elements are placed in adjacent memory cells, which enables pointer arithmetic and efficient array traversal. This contiguous allocation is a fundamental property of arrays.