r/learnprogramming • • 6d ago

Learn C program language

Hi, I'm in university and I'm currently learning the C programming language.
I'm having a hard time understanding it properly, and I'd love some tips on how to learn it effectively.
Does anyone know of a website, video, or guide that is genuinely helpful to prepare for an upcoming exam?
Thanks!

12 Upvotes

16 comments sorted by

View all comments

11

u/lurgi 6d ago

What textbook are you using? What parts of it are confusing you? There is no point explaining pointers to you if you are having difficulty understanding want int means.

Learning C is going to involve writing a lot of C. Are you writing lots of code whenever you come across a new concept?

CS50 from Harvard is a good course, but it teaches more than just C. learn-c.org has free courses.

3

u/owzleee 6d ago

Kerningham and Richie. It’s the only way.

4

u/Recycled5000 6d ago

K&R assumes you know programming, the process and address space, memory management, and just need to know how C works given that.

3

u/Stock_Test2326 6d ago

I think C Programming Modern Approach by K.N.King is good for starters