Close to the machine

C

The small, portable language beneath most operating systems and runtimes. Teaches memory, pointers and how programs really execute. This path has 14 lessons in reading order, from the basics to the ideas that come up in real code, with a runnable example in every lesson.

ChallengingExamples verified with GCC 13 (C11)
lessons
14 lessons
exercises
0 exercises
interview questions
0 interview questions

What C is used for

  • Operating systems
  • Embedded devices
  • Compilers and runtimes
  • Performance-critical libraries

How examples are checked

Every example and every exercise solution was run with GCC 13 (C11) at build time. In-browser execution for C is not available yet; the pages say so rather than pretending.

Learn

The C learning path

Read in order: each lesson leans only on the ones before it. Every lesson ends with a small program to write and links to matching exercises.

See the full curriculum with descriptions →

Practice

Practise C

0 exercises across several topics, each checked by running your program against test cases. Start with these:

    All C exercises