https://github.com/r-pagard/c-book-exercises
The exercises of the C Programming Language book.
https://github.com/r-pagard/c-book-exercises
book cprogramming cprogramming-language gcc gcc-complier linux programming
Last synced: 27 days ago
JSON representation
The exercises of the C Programming Language book.
- Host: GitHub
- URL: https://github.com/r-pagard/c-book-exercises
- Owner: r-pagard
- Created: 2025-01-25T05:53:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-14T12:08:08.000Z (about 1 month ago)
- Last Synced: 2025-03-14T13:24:52.558Z (about 1 month ago)
- Topics: book, cprogramming, cprogramming-language, gcc, gcc-complier, linux, programming
- Language: C
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### **C Book Exercises**
This repository is a collection of exercises from C programming books that I'm solving just for fun and learning. It's a way for me to practice and get better at C programming.
---
### **What's Inside**
- Solutions to various exercises from C books.
- Each file is named based on the chapter or exercise number.---
### **Chpaters**
**Chapter 1**
- [Variable & Arithmetic Expressions](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/variable-arithmetic-expressions)
- [For Loop](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/for-loop)
- [File Copying](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/file-copying)
- [Counting](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/counting)
- [Arrays](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/array)
- [Functions](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/function)
- [Character Arrays](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/character-arrays)
- [External Variable And Scope](https://github.com/r-pagard/c-book-exercises/tree/main/chapter-1/external-variables-scope)---
### **How to Run**
1. Clone the repository:
```bash
git clone https://github.com/varaden/c-book-exercises.git
```
2. Compile and run any file:
```bash
gcc -o output src/.c
./output
```---
### **Tools**
- **OS**: Linux
- **Compiler**: GCC---
Feel free to take a look around or use the code if it's helpful.
It's nothing fancy—just me having fun with C.---