- Basic Input/Output
- Variables and Data Types
- Operators and Expressions
- Conditional Statements (if, if-else, switch)
- Loops (for, while, do-while)
- Arrays and Strings
- Functions
- Pointers
- Structures and Unions
- File Handling (basics)
Make sure you have a C compiler installed like GCC.
To compile and run any .c file:
gcc program_name.c -o program_name
./program_nameC-learning-Codes-/
├── basics/
│ ├── hello_world.c
│ ├── variables.c
│ └── ...
├── control_flow/
│ ├── if_else.c
│ ├── switch_case.c
│ └── ...
├── loops/
│ ├── for_loop.c
│ ├── while_loop.c
│ └── ...
├── arrays_strings/
├── functions/
├── pointers/
├── structures/
├── file_handling/
└── README.md
This repository is designed for:
- Students beginning with C programming
- Practicing core programming concepts
- Preparing for college assignments or interviews
Feel free to fork the repository and add your own code examples or improvements.