Without any mentor, self-teaching myself with books and references on the web, how do I make sure that I properly understand pointers in C? What tests should I go through, what questions to answer to be sure?
Pointers are arguably the most difficult feature of C to understand. But, they are one of the features which make C an excellent language. In this article, we will go from the very basics of pointers to their usage with arrays, functions, and structure.
Try to answer questions about pointers here on Stack Overflow. This way you will find out very quickly if your understanding of pointers is correct or if other people disagree with the way you answered those questions.
In K&R there are exercises that you can solve to see if you got it right. Also, you can look for some questions posted with solutions from various university (and not only university) C programming classes, and solve them (then compare to the solutions).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With