# Learn C

> The language under everything: pointers, memory, the compiler pipeline and the operating system: until you write C that is fast AND safe, and read the systems the world actually runs on. The full outline of the LoWisa C course: 15 levels, 44 lessons. The first level is free.

The language under everything: pointers, memory, the compiler pipeline and the operating system: until you write C that is fast AND safe, and read the systems the world actually runs on.

This is the whole C course in the LoWisa phone app, level by level: 15 levels, 44 lessons and 132 ideas, each taught and then checked. The first level, Start Here: Close to the Machine, is free.

## What you can do as you go

| Where you are | What you can do |
| --- | --- |
| Start Here: Level 4 | You write real C with pointer fluency: arrays, strings and addresses without fear or hand-waving. |
| Levels 5–9 | You manage memory and lifetimes, design structs and callbacks, and command the preprocessor, I/O and the build pipeline. |
| Levels 10–12 | You think in bits, speak to the operating system, and debug with gdb, sanitizers and Valgrind as reflexes. |
| Levels 13–14 | You profile caches and allocation, design C APIs and ABIs, and harden legacy systems measurably. |
| Project ladder | Five desktop app projects from a leak-free tool to a published embeddable library: the machine’s language, genuinely yours. |

## The C course, level by level

| Level | Lessons in it |
| --- | --- |
| Start Here: Close to the Machine | Native Programs; Memory and Hardware |
| Level 1: C Foundations | Types and Variables; Operators and Control Flow; Functions |
| Level 2: Arrays & Strings | Arrays; Character Data; C Strings and Their Risks |
| Level 3: Pointers | Addresses and Dereferencing; Pointer Arithmetic; Arrays and Pointers |
| Level 4: Memory Management | Stack and Heap; Allocation and Deallocation; Memory Safety |
| Level 5: Structured Data | Structs; Unions and Enums; Designing C Data Structures |
| Level 6: Functions at a Deeper Level | Function Pointers; Callbacks; Passing and Returning Complex Data |
| Level 7: Files & I/O | Streams; Binary and Text Files; System I/O Concepts |
| Level 8: Preprocessor | Macros; Conditional Compilation; Headers and Include Guards |
| Level 9: Compilation & Linking | Compiler Stages; Object Files and Linkers; Libraries |
| Level 10: Bits & Representation | Binary and Hexadecimal; Bitwise Operations; Data Layout and Endianness |
| Level 11: Systems Programming | Processes and Operating-System APIs; Signals and Low-Level Resources; Portable vs Platform-Specific C |
| Level 12: Debugging & Safety | Debuggers; Memory Debugging; Undefined Behaviour and Security |
| Level 13: Performance | Profiling; Memory and Cache Behaviour; Efficient Native Code |
| Level 14: C Mastery | ABI and Interoperability; Low-Level Architecture; Reading and Improving Production C |

Every level ends with a checkpoint and flashcards on what it taught.

## Start Here: Close to the Machine: what the free first level teaches

**Native Programs**

- **What C is.** **C** is a small language compiled straight to machine code: no runtime, no safety net, total control.
- **Why C endures.** Kernels, databases, interpreters and firmware are written in C: it is the **foundation** other languages stand on.
- **The contract.** C trusts the programmer: power in exchange for **discipline**: the compiler checks little, you check everything.

**Memory and Hardware**

- **Memory as bytes.** To C, memory is a long array of numbered **bytes**: every object lives at an address you can take.
- **The CPU view.** C constructs map nearly one-to-one to **instructions**: reading C is close to reading what the CPU will do.
- **Costs are visible.** Nothing hides: every copy, every allocation, every indirection is **visible** in the source.

## Projects you build

The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.

| Role | Project | The situation |
| --- | --- | --- |
| C Developer | Word-Frequency Tool | Build a classic Unix-style tool: read text, count word frequencies, print the top N: bounded buffers, checked I/O, zero leaks under Valgrind. |
| Systems Developer | Binary File Inspector | Build an inspector for a documented binary format (a BMP or WAV header): parse fields honestly, respect endianness, and refuse malformed files gracefully. |
| C Engineer | Rescue a Corrupting Inventory Daemon | You inherit a small daemon that leaks, crashes on certain inputs, and once corrupted its data file. Diagnose with gdb, ASan and Valgrind: repair, don’t rewrite. |
| Senior Systems Engineer | Key-Value Store With an Arena | Build a persistent key-value store: put, get, delete over an append-only log with an in-memory index: arena allocation, crash recovery, and measured performance. |
| C Specialist | Publish an Embeddable INI Library | Build the definitive piece: a zero-dependency INI parser library other programs embed: opaque handles, explicit ownership, a stable C ABI, and a fuzz corpus that found nothing left. |

## How you learn it

- **One idea at a time.** Each lesson teaches a few ideas and asks you about each before it moves on.
- **A checkpoint and flashcards at the end of every level.** See [Checkpoints and flashcards](/help/checkpoints-and-flashcards/).
- **Games on what you have learned.** See [Revision games](/help/revision-games/).
- **On your phone.** The app is on Google Play and the App Store. See [Getting started](/help/getting-started/).

## Frequently asked questions

### How many levels does the LoWisa C course have?

15 levels with 44 lessons, from Start Here: Close to the Machine to Level 14: C Mastery.

### Is the C course free?

The first level, Start Here: Close to the Machine, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.

### Where does the C course start?

With Start Here: Close to the Machine. Its first lesson is "Native Programs".

## Start C with the free first level

LoWisa is on Google Play and the App Store.

---

Source: https://lowisa.dev/courses/c/ · Updated 2026-11-25
