Personal study notes, architectural deep dives, and runnable code examples on the C programming language.
This repository documents my hands-on journey learning C from first principles, focusing on how data, memory, and types actually behave under the hood.
- Book: The C Programming Language (2nd Edition) by Brian W. Kernighan and Dennis M. Ritchie (K&R)
- Extended Deep Dives: Alongside the core book chapters, files include deeper explanations explored through official documentation, online resources, and AI-assisted research out of personal curiosity.
- Self-Contained & Runnable: Every
.cfile combines structured notes in comments with a live program you can compile and run immediately. - Disclaimer: These are personal study notes and practice implementations written for learning and reference. While some code snippets are inspired by or adapted from examples in the book, all explanations are written in my own words and no copyrighted book text or PDFs are included.
Make sure gcc (or clang) is installed on your system, navigate to the folder containing the file, and run:
gcc filename.c -o filename && ./filename
gcc filename.c -o filename.exe && filename.exe
gcc filename.c -o filename.exe; .\filename.exe
(Optional: Add -Wall -Wextra—for example, gcc -Wall -Wextra filename.c -o filename—to enable extra compiler warnings.)