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)
- Host: GitHub
- URL: https://github.com/tanzeelafatima492/c-programming-basics
- Owner: TanzeelaFatima492
- Created: 2024-02-26T07:01:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T08:44:00.000Z (over 1 year ago)
- Last Synced: 2025-08-09T13:12:07.860Z (11 months ago)
- Topics: chapter2, cpp, excerise, program, robert-lafore, robert-lafore-solution
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)
---