📚 Pick a unit
Unit 1 · Basics of C
Computer systems, hardware & software, algorithm, pseudo code, flowchart, languages, structure of a C program, data types, constants, enum, keywords, operators, precedence & associativity Unit 2 · Input & Output Statements
Expressions, printf/scanf, assignment, if/else, switch, loops, preprocessor directives, compilation process Unit 3 · Arrays & Strings
Declaration, initialization, 1D & 2D arrays, string length / compare / concatenate / copy, selection sort, linear & binary search Unit 4 · Functions & Pointers
Modular programming, prototype, definition, call, built-in functions, recursion, recursive binary search, pointers, pointer arithmetic, arrays & pointers, pass by value / reference Unit 5 · Structures & Union
Structures, nested structures, pointers to structures, array of structures, self-referential structures, malloc/free, singly linked list, typedef, union, storage classes Unit 6 · File Processing
Files, text vs binary, formatted I/O, file operations, sequential & random access, command line arguments Bonus · Loops & Strings
The first loops lesson: for, while, do-while, string loops, arithmetic
Computer systems, hardware & software, algorithm, pseudo code, flowchart, languages, structure of a C program, data types, constants, enum, keywords, operators, precedence & associativity Unit 2 · Input & Output Statements
Expressions, printf/scanf, assignment, if/else, switch, loops, preprocessor directives, compilation process Unit 3 · Arrays & Strings
Declaration, initialization, 1D & 2D arrays, string length / compare / concatenate / copy, selection sort, linear & binary search Unit 4 · Functions & Pointers
Modular programming, prototype, definition, call, built-in functions, recursion, recursive binary search, pointers, pointer arithmetic, arrays & pointers, pass by value / reference Unit 5 · Structures & Union
Structures, nested structures, pointers to structures, array of structures, self-referential structures, malloc/free, singly linked list, typedef, union, storage classes Unit 6 · File Processing
Files, text vs binary, formatted I/O, file operations, sequential & random access, command line arguments Bonus · Loops & Strings
The first loops lesson: for, while, do-while, string loops, arithmetic
🛠️ How to run any program
Open the Terminal inside a unit folder and type:
gcc program_name.c -o program
./program
Read the story first, then the code, then run it yourself. Change a number and run it again. That's the fastest way to learn.