Lessons
C · Medium
C · Medium. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
const correctness deeper
APIs that do not mutate.

Lesson 2
Flexible arrays and size
Trailing array member patterns.

Lesson 3
setjmp sketch caution
Nonlocal exits are sharp.

Lesson 4
Volatile sketch
When the compiler must not assume.

Lesson 5
Inline and linkage
static inline helpers.

Lesson 6
Bit fields and masks
Packing flags.

Lesson 7
errno and return codes
Reporting failure.

Lesson 8
Unit tests in C
Simple assert harness.

Lesson 9
Sanitizers
ASan/UBSan.

Lesson 10
Medium capstone
Safe-ish buffer fill.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.