MarzleyTech Learn

Home / Learn / C programming

C programming: free course

The language behind operating systems, microcontrollers and embedded devices. Understand memory, pointers and how computers really work.

8 lessons · free · no account needed · code examples, practice questions and videos

Start lesson 1 Open the interactive course Printable course notes

Lessons

  1. 1 C introduction: why C matters, where it's used, compiling, your first program, program structure, data types and printf
  2. 2 Variables, data types, printf and scanf
  3. 3 Conditions, loops and functions in C: if/else, switch, for, while, do-while, writing functions, scope and header files
  4. 4 Arrays and strings in C
  5. 5 Pointers and memory in C: addresses, dereferencing, pointers and functions, arrays, pointer arithmetic, malloc/free and common bugs
  6. 6 Dynamic memory: malloc, realloc and free
  7. 7 Structs and files in C: grouping data with struct, arrays of structs, pointers to structs, typedef, enums and reading/writing files
  8. 8 Project: a mini bank / SACCO account system in C