All courses

Course

Learn C

Close to the metal, under everything. 8 units that take you from your first program to the language's advanced features.

Units
8
Topics
28
Questions
145
Challenges
23
1

Unit 1

Getting started

Programs, types and operators

  1. Hello, C
  2. Variables and types
  3. Operators
  4. Unit quiz and coding challenge
2

Unit 2

Control flow

Conditions, switch and loops

  1. Conditions
  2. switch
  3. Loops
  4. Unit quiz and coding challenge
3

Unit 3

Functions

Functions, scope and header files

  1. Functions
  2. Scope
  3. Static variables
  4. Recursion
  5. Header files
  6. Unit quiz and coding challenge
4

Unit 4

Arrays and strings

Fixed-size arrays and C strings

  1. Arrays
  2. Strings
  3. Arrays and functions
  4. Unit quiz and coding challenge
5

Unit 5

Pointers

Addresses, dereferencing and pointer arithmetic

  1. Pointers
  2. Pointers as parameters
  3. Pointer arithmetic
  4. Unit quiz and coding challenge
6

Unit 6

Memory

The heap, malloc and free

  1. Dynamic memory
  2. Memory bugs
  3. Unit quiz and coding challenge
7

Unit 7

Structs

Custom types, unions, enums and linked lists

  1. Structs
  2. Enums
  3. Unions
  4. Linked lists
  5. Unit quiz and coding challenge
8

Unit 8

Beyond the basics

Preprocessor, files, bits and the standard library

  1. The preprocessor
  2. Files
  3. Command-line arguments
  4. Bitwise operators
  5. The standard library
  6. Unit quiz and coding challenge

Finale

Course exam

100 items from the whole course: 50 questions with choices, 35 typed answers and 15 coding challenges that mix topics.