This repository contains a collection of C programming examples organized by learning progression.
01_Introduction/- Introduction to C programming02_BasicSyntax/- Basic syntax, variables, and operations03_ControlFlow/- Conditionals and loops04_Functions/- Function usage and parameters05_Arrays/- Array operations and manipulations06_Pointers/- Pointer operations and memory management07_Strings/- String manipulation and character arrays08_Structures/- Structures and complex data types09_LinkedLists/- Linked list implementations10_Recursion/- Recursive algorithms and functions11_FileIO/- File input/output operations12_Projects/- Complete small projects
Individual programs can be compiled using:
gcc -o program_name category/program_name.cFor example:
gcc -o hello_world 01_Introduction/hello_world.cOr use the provided Makefile:
makeThis repository is organized to follow a logical learning progression for C programming:
- Introduction: First programs, basic concepts
- Basic Syntax: Variables, data types, basic operations
- Control Flow: Conditionals, loops, switch statements
- Functions: Function definitions, parameters
- Arrays: Array manipulation, multi-dimensional arrays
- Pointers: Pointer operations, memory management
- Strings: String manipulation, character arrays
- Structures: Custom data types, unions, enums
- Linked Lists: Singly and doubly linked lists
- Recursion: Recursive algorithms and functions
- File I/O: File operations, reading and writing data
- Projects: Complete small projects combining multiple concepts