Step Into Labs

Step Into C · Lesson 2 · Foundations

Variables & Types

Named boxes of memory, the built-in types, and printing values with format specifiers.

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.

Your computer's memory (RAM) is a huge array of bytes. A byte is 8 bits and can hold one of 256 values (0–255). Every byte has an address, its index in that array.

In this lesson

Missions

  1. An integer
  2. A character
  3. Floating point
  4. How big is it?
  5. Think in hex