An open API service indexing awesome lists of open source software.

https://github.com/tanzeelafatima492/c-programming-basics

solve the all programs in excerise of chapter 2 of book "Robert Lafore" (4Th edition)
https://github.com/tanzeelafatima492/c-programming-basics

chapter2 cpp excerise program robert-lafore robert-lafore-solution

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

          

### 📌 **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**
```sh
git clone https://github.com/Fatima-progmmer/c-programming-basics
```

2️⃣ **Navigate to the Folder**
```sh
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](https://github.com/Fatima-progmmer)
🔗 [LinkedIn](https://www.linkedin.com/in/tanzeela-fatima-47861b2b7/)

---