C from zero
From your first printf to pointers, memory and structs: the language under everything.
- 00
Set up your computer
Install a C compiler and VS Code, and run your first program on your own machine.
- 01
Your first program
How a C program is built, how to print, and how to read the compiler's complaints.
- 02
Variables and types
Boxes in memory with a name and a type: int, double and char, and how to print each.
- 03
Input and arithmetic
Read numbers with scanf, and do maths the way C does it: integer division, remainders and casts.
- 04
Decisions
Make the program choose: if, else if, conditions with && and ||, and switch.
- 05
Loops
Repeat work with while and for, build patterns with nested loops, and stop early with break.
- 06
Functions
Name a piece of work, give it inputs, get a result back, and let functions call themselves.
- 07
Arrays
Many values under one name: store, loop over, search, and lay them out in a grid.
- 08
Strings
Text in C is an array of chars ending in '\0'. Read it, measure it, compare it and change it.
- 09
Pointers
Addresses, *, and how pointers let functions change your variables and walk through arrays.
- 10
Dynamic memory
Ask for memory while the program runs with malloc, give it back with free, and avoid the classic memory bugs.
- 11
Structs
Group related values into your own types, keep arrays of them, and pass them to functions.
- 12
Algorithms in C
Sorting, binary search, counting and two pointers: the first tools of DSA, and why the faster one matters.
Final exam and certificate
Unlocks when you finish the course: 35 lessons to go.