Welcome to the C Programming Basics repository! This repository contains fundamental C programs to help beginners understand key concepts in C programming.
This repository covers the foundational concepts of C, including:
✅ Data Types & Variables
✅ Operators & Expressions
✅ Control Flow Statements
✅ Functions & Arrays
✅ Pointers & Memory Management
Each program includes comments to enhance understanding.
✔ Printing output using printf()
& scanf()
✔ Understanding data types (int, float, char, etc.)
✔ Variable declaration and initialization
✔ Arithmetic, Relational, Logical, Bitwise Operators
✔ Increment & Decrement Operators
✔ Loops: for
, while
, do-while
✔ Decision Making: if-else
, switch-case
✔ Break and Continue Statements
✔ Defining and Calling Functions
✔ Passing Arguments and Return Values
✔ One-Dimensional & Multi-Dimensional Arrays
✔ Understanding Pointers and Pointer Arithmetic
✔ Dynamic Memory Allocation (malloc()
, calloc()
, free()
)
1️⃣ Clone the Repository
git clone https://github.com/Fatima-progmmer/c-programming-basics
2️⃣ Navigate to the Folder
cd c-programming-basics
Feel free to contribute by improving code, adding explanations, or sharing optimized versions.
- Fork the repository
- Make changes and commit
- Submit a pull request 🚀