Skip to content

← Learn to Code — Python, Java, C, SQL & Web

C Programming

From printf to pointers, memory, and data structures — write in your browser and compile and run on our servers.

c 23 Lessons

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.

Start the course

Lessons in this course

  1. history A short history of C Reading and resources
  2. usage What C is used for Reading and resources
  3. resources Where to learn more Reading and resources
  4. setup Set up your computer Reading and resources
  5. C basics: main, printf, and functions 01 · 3 required tasks · ★ Video
  6. Variables, types, and arithmetic 02 · 3 required tasks · ★ Video
  7. Booleans and selection: if, else, switch 03 · 3 required tasks · ★★ Video
  8. Loops: while, for, and accumulation 04 · 3 required tasks · ★★ Video
  9. Functions, parameters, and return values 05 · 3 required tasks · ★★ Video
  10. Nested loops and patterns 06 · 3 required tasks · ★★★ Video
  11. 1-D arrays: store, index, and traverse 07 · 3 required tasks · ★★ Video
  12. Pointers: &, *, and pass-by-pointer 08 · 3 required tasks · ★★★ Video
  13. Strings: char arrays and the null terminator 09 · 3 required tasks · ★★★ Video
  14. Array algorithms: max, count, search, average 10 · 4 required tasks · ★★★ Video
  15. 2-D arrays: working with a grid 11 · 3 required tasks · ★★★ Video
  16. Searching: linear and binary 12 · 3 required tasks · ★★★ Video
  17. Sorting: bubble, selection, and insertion 13 · 3 required tasks · ★★★★ Video
  18. Recursion: base case and recursive case 14 · 3 required tasks · ★★★★ Video
  19. Structs and typedef: . vs -> 15 · 3 required tasks · ★★★ Video
  20. Dynamic memory: malloc, free, and realloc 16 · 3 required tasks · ★★★★ Video
  21. Linked lists 17 · 3 required tasks · ★★★★★ Video
  22. Stacks and queues (array-backed) 18 · 3 required tasks · ★★★★ Video
  23. Text files: write then read 19 · 3 required tasks · ★★★ Video
  24. Error handling with return codes 20 · 3 required tasks · ★★★ Video
  25. Bits, binary, and bitwise operators 21 · 3 required tasks · ★★★ Video
  26. Run-length encoding (compression) 22 · 3 required tasks · ★★★★ Video
  27. Preprocessor, const, static, and enum 23 · 3 required tasks · ★★★ Video

Language reference

/know/reference/c

Log in or create account

IGCSE, A-Level & AP