Skip to content
Brainlag

Memory, pointers, the stack and the heap, all the way to linked lists, hash tables and your own malloc.

7 free lessons.

38 lessons, 7 free

Practise

Review

Checkpoint problems you miss come back here.

Open review

Daily 5

Five quick questions from what you have learned.

Start Daily 5

The course, unit by unit

Part 1: Foundations

1 unit, 7 lessons

Part 2: Core

1 unit, 11 lessons

Part 3: Deeper

2 units, 20 lessons

  1. Unit 3: Advanced

    7 hr 55 minLocked

  2. Unit 4: Bits and a tiny machine

    2 hr 20 minLocked

Questions

What is the course about?

How computers work. Memory, pointers, the stack and the heap, all the way to linked lists, hash tables and your own malloc. The language under your operating system. It is for: some coding helps.

What is free?

7 of the 38 lessons.

Do I need to install anything?

No. Your code runs in the browser, in the editor beside each lesson.

Do I need an account?

No. Progress saves in this browser; sign in to keep it on every device.

What can I do by the end?
  • Write, compile and debug C programs on your own
  • Explain where every value lives: stack, heap or static memory
  • Use pointers, structs, malloc, realloc and free without leaks
  • Read and write files and parse text input
  • Build linked lists, stacks, queues and hash tables
  • Spot memory bugs and undefined behaviour before they bite
How long does it take?

About 18 hr 50 min of lessons in 4 units. Lessons take 20 to 45 minutes each.