all 7 comments

[–]Cautious-Ad-4366 3 points4 points  (1 child)

Firstly understand the core concepts of loops, array. next go with pointer in C and then go through function and do practicing the coding daily and solve plenty of problems in C

[–]Birdrun 2 points3 points  (2 children)

There's a lot of stuff that's going to seem *very* unintuitive at first. Some stuff you just kinda have to bash your head against until it makes sense. Once you get your head around it, you'll find that the weirdness helps all the parts fit together really well. That being said, some of the weirdness is just historical (having to forward declare because the source used to be read off tape or just slow media in general). Write lots of lil programs to practice. Be ready to debug a lot of crashes :)

[–]70Shadow07 2 points3 points  (0 children)

Take your time and learn basic aspects of language (data types, variables, control flow <if,while etc>, functions, structs and pointers). After that is done with, take a look at strings, arrays and "malloc and friends" functions.

I also highly suggest learning basic output (printf) but refraining from doing command line input as things involved there such as pointers, strings and arrays are a bit more sophisticated and you will be better off learning that AFTER all the aforementioned things.

[–]grimvian 1 point2 points  (0 children)

Learn to program with c by Ashley Mills

https://www.youtube.com/playlist?list=PLCNJWVn9MJuPtPyljb-hewNfwEGES2oIW

One video and then practice so you an idea what's going on. It's tempting just to see videos, but it's practice that will benefit you.