Learn C Programming by writing real code

From your first printf to pointers, patterns, sorting, structures and safe file handling, with 18 guided chapters and a real C compiler.

Each chapter explains one idea, shows a worked example and then asks you to write and run your own C Programming code in the browser, with tests that check your answer.

The C Programming course is free: every chapter, example and exercise is open without a membership.

C Programming chapters

  1. Hello, C
  2. Variables, Types & Output
  3. Input, Operators & Conversions
  4. Conditions & Decisions
  5. Loops: One Step at a Time
  6. Nested Loops & Shapes
  7. Number Patterns & Digits
  8. Functions & Scope
  9. Arrays & Boundaries
  10. Two-Dimensional Arrays
  11. Strings & Characters
  12. Pointers & Memory
  13. Pointers with Functions & Arrays
  14. Recursion
  15. Sorting One-Dimensional Arrays
  16. Sorting Two-Dimensional Data
  17. Structures, Enums & Allocation
  18. Files & Reliable Programs
  19. Multi-File Programs & Make
  20. Bits & Bytes
  21. Linked Lists
  22. Hash Tables
  23. Memory Safety & Sanitizers
  24. Testing C Code
  25. Debugging & Reading C Codebases
  26. Performance & Production C
  27. Capstone: A Small Key-Value Store