Step Into Labs

Step Into C · Lesson 6 · Control Flow

Functions

Definitions, prototypes, pass-by-value, recursion and static locals.

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.

A function is a named, reusable piece of code that takes parameters and can return a value. Real C programs, including the whole Windows API, are made of thousands of functions.

In this lesson

Missions

  1. Square
  2. Max of three
  3. Recursion
  4. Remember me