Skip to content
Brainlag

C

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

Foundations is free: 7 lessons.

38 lessons, 7 free

Practise

Review

All clear

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

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 23 hr 20 min of lessons in 4 units. Lessons take 20 to 90 minutes each.