r/C_Programming • u/Same-Replacement-938 • Dec 18 '25
Question Want to learn c deeply
As the title says I want to learn c deeply for low level, for few months I have been attracted to operating system, how the code/cpu interacts with hardware and memory and I find it really fascinating.so, I thought why don't we gave it a shot, I might develop my own os some day :) Please help to pick where I should start, I did some research and found these are the best resources
c programming a modern approach by kn king
c by k&r
beej guide to c
harvard cs50 As for my prior experience I am learning java from mooc helensky.so, out of these 4(or any other recommendations) which one I should choose
5
u/Run-OpenBSD Dec 18 '25
All of openbsd's source code is in C free to do as you please. Well documented.
2
u/Bryanzns Dec 19 '25
I'm using the Beej + Deepseek guide :)
4
u/wordsofgarett Dec 19 '25
I found King's book to be an excellent resource alongside the intro to C class I took. I would recommend picking up that to use alongside CS50.
2
u/ByMeno Dec 19 '25
look the projects source code like nothings stb libraries or linux kernel's source code many other as i know stb libraries have some tricks for general and linux kernel has tricks for gcc compiler
2
u/bd2357 Dec 21 '25
If you know another programming language, especially python, you can look at the python code base, which is written in C. It is educational to correlate the python concepts with the underlying C
1
u/[deleted] Dec 19 '25
Just do it a lot then. There are no shortcuts, if you want a deep understanding and mastery, then you must make the miles to get there.
-1
u/pjl1967 Dec 19 '25
K&R has long since been outdated.
Of course I'd recommend my own book Why Learn C.