Step Into Labs

Step Into C · Lesson 7 · Arrays & Strings

Arrays

Contiguous blocks of values, indexing, sizeof tricks and 2-D arrays.

Part of Step Into C. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

An array is a fixed number of elements of the same type, stored back-to-back in memory.

In this lesson

Missions

  1. Count them
  2. Sum and max
  3. Reverse in place
  4. The grid