Skip to content
← All languages

C from zero

From your first printf to pointers, memory and structs: the language under everything.

Start: Install C and VS Code 0 of 36 lessons done
  1. 00

    Set up your computer

    Install a C compiler and VS Code, and run your first program on your own machine.

  2. 01

    Your first program

    How a C program is built, how to print, and how to read the compiler's complaints.

  3. 02

    Variables and types

    Boxes in memory with a name and a type: int, double and char, and how to print each.

  4. 03

    Input and arithmetic

    Read numbers with scanf, and do maths the way C does it: integer division, remainders and casts.

  5. 04

    Decisions

    Make the program choose: if, else if, conditions with && and ||, and switch.

  6. 05

    Loops

    Repeat work with while and for, build patterns with nested loops, and stop early with break.

  7. 06

    Functions

    Name a piece of work, give it inputs, get a result back, and let functions call themselves.

  8. 07

    Arrays

    Many values under one name: store, loop over, search, and lay them out in a grid.

  9. 08

    Strings

    Text in C is an array of chars ending in '\0'. Read it, measure it, compare it and change it.

  10. 09

    Pointers

    Addresses, *, and how pointers let functions change your variables and walk through arrays.

  11. 10

    Dynamic memory

    Ask for memory while the program runs with malloc, give it back with free, and avoid the classic memory bugs.

  12. 11

    Structs

    Group related values into your own types, keep arrays of them, and pass them to functions.

  13. 12

    Algorithms in C

    Sorting, binary search, counting and two pointers: the first tools of DSA, and why the faster one matters.

  14. Final exam and certificate

    Unlocks when you finish the course: 35 lessons to go.