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