Step Into Labs

Step Into C · Lesson 10 · Memory

Pointer Arithmetic

Arrays as pointers, stepping through memory, byte views and void *.

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.

In most expressions, an array's name evaluates to the address of its first element:

In this lesson

Missions

  1. No brackets allowed
  2. Walk a string
  3. See the bytes
  4. Generic fill