This repository contains a collection of C programming exercises taken from my university exams. Each exercise is neatly organized within its dedicated folder, encompassing both the source code and pertinent documentation. The exercises are provided in chronological order based on their exam date, providing a structured approach for study and review sessions. These exercises cover a wide range of topics, including:
- Matrix operations and arrays
- Linked lists and linear data structures
- Binary trees and tree traversal algorithms
This compilation serves as a valuable resource for students aiming to strengthen their understanding of C programming concepts and prepare for examinations effectively.
Navigate to the exercise directory and use g++
to compile the C file. For example:
cd exam/"date"/"Exercise 1"/
g++ -o main main.c
./main
I have personally completed all the exercises in this repository when I was learning C, so they might not be perfect or the most elegant solutions, but they all work! 😊