# Programming_in_C
## 📖 Project Overview
This repository contains C programs and examples demonstrating **fundamental programming concepts in C**.
It is designed for learners, students, and developers who want to strengthen their understanding of C programming through practical examples.
---
## 🎯 Key Topics Covered
- **Data Types & Variables**
- **Arrays (1D & 2D)**
- **Conditional Statements**
- `if`
- `if-else`
- `nested if-else`
- **Loops**
- `for loop`
- `while loop`
- `do-while loop`
- `nested loops`
- **Functions**
- **Pointers**
- **Structures**
- **Exception Handling (error handling techniques)**
- **File Handling**
---
## 📂 Repository Structure
programming_in_c/ │── README.md # Documentation │── datatypes/ # Examples of data types │── variables/ # Variable declaration & usage │── arrays/ # 1D and 2D array programs │── conditionals/ # if, if-else, nested if-else │── loops/ # for, while, do-while, nested loops │── functions/ # Function definitions & usage │── pointers/ # Pointer examples │── structures/ # Structure programs │── exception_handling/ # Error handling examples │── file_handling/ # File I/O programs │── main.c # Driver program (optional)
---
## 🛠️ Getting Started
### Prerequisites
- Install a C compiler (e.g., GCC, MinGW, or Turbo C)
- Basic knowledge of C syntax
### Compilation & Execution
```bash
gcc filename.c -o output
./output
By exploring this repository, you will:
- Understand core C programming concepts
- Learn how to use control structures and loops
- Work with arrays, pointers, and structures
- Implement functions for modular programming
- Practice file handling and error management
Contributions are welcome!
- Fork the repository
- Create a new branch (
feature-name) - Commit your changes
- Open a Pull Request
This project is licensed under the MIT License – feel free to use and modify the code.
Developed and maintained by Anuj
For academic enrichment and practical learning in C programming.