Skip to content

Repository files navigation

📌 C Programming Basics

Welcome to the C Programming Basics repository! This repository contains fundamental C programs to help beginners understand key concepts in C programming.


📖 About

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.


🛠 Topics Covered

🔤 Basic Concepts

✔ Printing output using printf() & scanf()
✔ Understanding data types (int, float, char, etc.)
✔ Variable declaration and initialization

➕ Operators & Expressions

✔ Arithmetic, Relational, Logical, Bitwise Operators
✔ Increment & Decrement Operators

🔄 Control Flow Statements

✔ Loops: for, while, do-while
✔ Decision Making: if-else, switch-case
✔ Break and Continue Statements

📌 Functions & Arrays

✔ Defining and Calling Functions
✔ Passing Arguments and Return Values
✔ One-Dimensional & Multi-Dimensional Arrays

🎯 Pointers & Memory Management

✔ Understanding Pointers and Pointer Arithmetic
✔ Dynamic Memory Allocation (malloc(), calloc(), free())


🚀 How to Run the Programs

1️⃣ Clone the Repository

git clone https://github.com/Fatima-progmmer/c-programming-basics

2️⃣ Navigate to the Folder

cd c-programming-basics

✨ Contributing

Feel free to contribute by improving code, adding explanations, or sharing optimized versions.

  1. Fork the repository
  2. Make changes and commit
  3. Submit a pull request 🚀

📬 Connect with Me

🔗 GitHub
🔗 LinkedIn


About

solve the all programs in excerise of chapter 2 of book "Robert Lafore" (4Th edition)

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages