Origin Academy
← All courses

Course

C Programming

Learn C properly from scratch: memory and pointers, data structures, processes, POSIX threads and network sockets, with the tools professionals use.

14 weeks · ~10 hrs/week (~140 hours) · 54 modules, each ending with a lab · Curriculum updated 19 November 2026

Before you start

  • No programming experience needed
  • Command-line basics help; Phase 0 shows you what you need
  • English good enough to follow technical documentation and live sessions: about a credit (C6 or better) in WASSCE or NECO English Language, or an equivalent such as KCSE or IGCSE English (roughly CEFR level B1). You don't need the certificate: Phase 0 is free, so you can check for yourself
  • A laptop running Linux, macOS, or Windows with WSL
Check with the free readiness test →

How the course works

  • A live cohort of up to 10 students, with a mentor.
  • At least half your time is hands-on: every module ends with a lab.
  • Live sessions are recorded, so you can rewatch them or catch up.
  • Questions between sessions are answered within 24 hours on weekdays.
  • A mentor reviews every phase project, like a pull request at work.
Meet the mentors →

Curriculum

  1. 00Getting Started & ToolingFree: start now

    Week 1

    Install a toolchain, see how source becomes a program, and set up Make, GDB and Git from day one.

    • Why C, and the C standards (C99 to C23)
    • GCC and Clang: compile, assemble, link
    • Your first program and main()
    • Make and a debugger from day one

    You build: Hello world with your own Makefile

  2. 01Core Language

    Weeks 2–3

    Types, operators, control flow and functions, scope and storage duration, written the way professionals write them.

    • Variables and data types
    • Fixed-width integers and type conversion
    • Operators: arithmetic, logical and bitwise
    • Control flow
    • Functions and recursion
    • Scope, storage duration, static and extern

    You build: Command-line calculator

  3. 02Arrays & Strings

    Week 4

    Arrays, C strings, command-line arguments and the classic string-handling pitfalls.

    • Arrays
    • C strings and string.h
    • Command-line arguments
    • Buffer overflows and safe string handling

    You build: Text statistics tool

  4. 03Pointers & Memory

    Weeks 5–6

    Pointers and pointer arithmetic, void and function pointers, the stack and the heap, and finding memory bugs.

    • Pointer basics
    • Pointer arithmetic and arrays
    • void pointers and function pointers
    • Stack vs heap
    • malloc, calloc, realloc and free
    • Finding leaks with Valgrind and AddressSanitizer

    You build: Dynamic array library

  5. 04Structs & Data Structures

    Week 7

    Structs, unions, enums and typedef; linked lists, dynamic arrays, hash maps and ring buffers; opaque types.

    • Structs, unions, enums and typedef
    • Linked lists
    • Hash maps
    • Ring buffers
    • Opaque pointers and clean APIs
    • Unit testing with Unity

    You build: Hash map library with tests

  6. 05Preprocessor, Linkage & Undefined Behavior

    Week 8

    Header files, macros and conditional compilation, declaration vs definition, linkage, const, volatile and restrict, and undefined behavior.

    • Header files and include guards
    • Macros and conditional compilation
    • Declarations, definitions and linkage
    • const, volatile and restrict
    • Undefined behavior and how to avoid it

    You build: Multi-file library with a clean public header

  7. 06Files, Processes & Signals

    Week 9

    File I/O, errno and exit codes, fork/exec/wait, pipes and signals, and the debugging toolkit: gdb, strace, ltrace, perf and Valgrind.

    • File I/O and streams
    • errno and exit codes
    • Processes: fork, exec and wait
    • Pipes
    • Signals
    • The debugging toolkit: gdb, strace, ltrace, perf and Valgrind

    You build: Mini shell with pipes

  8. 07Concurrency with POSIX Threads

    Weeks 10–11

    Threads, mutexes and condition variables, race conditions and deadlocks, C11 atomics and the memory model, and thread pools.

    • Why threads: processes vs threads
    • Creating and joining pthreads
    • Mutexes and race conditions
    • Condition variables and producer/consumer
    • Deadlocks and how to avoid them
    • C11 atomics and the memory model
    • Finding races with ThreadSanitizer

    You build: Thread-pool job runner

  9. 08Network Programming with Sockets

    Week 12

    The BSD sockets API, TCP and UDP clients and servers, byte order, getaddrinfo, and serving many clients with threads or poll().

    • How TCP and UDP work
    • The sockets API: socket, bind, listen, accept, connect
    • Byte order and getaddrinfo
    • A TCP echo server and client
    • UDP sockets
    • Many clients: one thread each, or poll()

    You build: Multi-client TCP chat server

  10. 09Capstone

    Weeks 13–14

    Build a complete C application to a written brief, with code review.

    • Design review
    • Build and test
    • Code review and hardening
    • Demo

    You build: Multi-threaded TCP key-value server

Your certificate

You earn it by doing two things:

  1. Attend every live session. If you miss one, make it up by watching the recording and submitting that week's lab within 7 days. You can do this up to 2 times per course.
  2. Score more than 50% on the final evaluation at the end of the course.

Your Enterprise Readiness Rating is separate: it scores your projects, capstone and assessments so employers can see how job-ready you are.

Roles you can apply for

Typical jobs graduates of this course go after, with estimated annual pay.

  • C Developer

    Write and maintain C software for operating systems, databases, networking and devices.

    US
    $75k–$172k/yrlow to high, average $114k · Indeed
  • Systems Programmer

    Build performance-critical software close to the operating system and hardware.

    US
    $120k–$148k/yr25th–75th percentile · Salary.com
  • Junior Firmware Engineer

    Start in embedded work: C is the language of nearly all microcontroller firmware.

    US
    $71k–$123k/yr10th–90th percentile, early career · Payscale

Estimates from third-party salary data, researched November 2026. Pay varies with experience, employer and location, and US figures are for US-based roles. These are not a promise of earnings.