r/cprogramming • • Nov 02 '26

Best way to learn C language for beginners

/r/Indiancolleges/comments/1xlpn9b/best_way_to_learn_c_language_for_beginners/
0 Upvotes

9 comments sorted by

3

u/CelebrityChess Nov 02 '26

k&r is solid but it's terse, so pair it with actually writing code from day one. cs50's first few lectures are free on youtube and cover c from scratch, and beej's guide to c is a free readable reference once you're past the basics. whatever you pick, compile with -Wall -Wextra and fix every warning, it teaches you a lot about what the language is actually doing.

0

u/daylordnightqueen Nov 02 '26

Ohh

I am actually a complete beginner and only know somewhat that has been taught in my class

U are saying to compile using “wall wextra” ??

6

u/extoniks Nov 02 '26

Reading Books and official docs. I recommend - The C Programming Language by K&R

-1

u/Previous-Box2169 Nov 03 '26

That's the right way to drop it all after 16 minutes

3

u/Recycled5000 Nov 02 '26

There’s no one universal best way for everyone.

2

u/FreeLogicGate Nov 02 '26

Books, college courses, Udemy, etc. MIT offers course like this directly: https://ocw.mit.edu/courses/6-087-practical-programming-in-c-january-iap-2010/

Coursera has a large number of courses, most of which you can "audit" at no cost. You can also subscribe and take the courses with grades/certificates of completion etc. at a relatively low cost.

https://www.coursera.org/search?query=C%20programming

You also have your FreeCodeCamp options, various youtube courses, and interactive learning systems like https://coddy.tech/landing/c

2

u/lehmagavan Nov 02 '26

AI is helpful - as long as you use it as a search engine and a tutor, NEVER let it write the code, otherwise you learn nothing.

2

u/corado12345 Nov 02 '26

Write games like Pong or snake, and talk with chat gpt, that you will learn c and he should describe all in very little steps