Beginner to Pro · 23 lessons · Free
C Programming: Zero to Hero
Bite-sized lessons of 5–10 minutes. Run the examples, crush the challenge, stack up XP: one lesson at a time, from beginner to pro.
C progress0/23 lessons
- MODULE 1
C Basics
printf, variables, format specifiers, scanf and operators
- MODULE 2
Making Decisions: Conditions
if, else if, &&, ||, the ternary operator and switch
- MODULE 3
Loops
for, while, do-while, break, continue, primes and patterns
- MODULE 4
Arrays
Arrays, searching, bubble sort and matrices
- MODULE 5
Functions and Strings
Functions, recursion, char arrays, string.h and string problems
- 1. FunctionsWrite functions with parameters, return values and prototypes 10 min 25 XP
- 2. RecursionBase case, factorial and Fibonacci 10 min 30 XP
- 3. Strings: Character Arrays'\0', strlen, strcpy, strcmp and fgets 11 min 30 XP
- 4. String Problems: Reverse, Palindrome, FrequencyString algorithms without library help 11 min 30 XP
- MODULE 6
Pointers and Memory
Pointers, call by reference, pointer arithmetic and malloc/free
- 1. Pointers: Working with Addresses&, *, NULL and pointer basics 12 min 35 XP
- 2. Call by Reference: SwapPass pointers so a function can change your variables 9 min 35 XP
- 3. Pointers and ArraysPointer arithmetic, *(p + i) and strings 10 min 35 XP
- 4. Dynamic Memory: malloc and freeAsk for memory at run time and give it back 10 min 35 XP
- MODULE 7
Structures and a Project
struct, typedef, -> and a bank-account mini project