u/nameEqualsJaredin r/C_Programming • Recommends
On “Getting better at arrays and pointers”
I liked these videos when I was learning :)
The one I linked above is about arrays. He also has one titled "Pointers and Arrays" that can help to clarify the wonderful connection between pointers and arrays for ya. Would recommend.
Also, just as a general tip, I think drawing pictures really helps when you are learning C. So maybe try to do something like this:
* Draw a picture of an array (call it A) that is 4 integers in length, and initialized like so: {3, 4, 5, 6}
* Give the values for A0, A1, A2, and A3
* Make a line like "int *q = &A", and show where that fits into your picture
* Make a line like "int *z = A" and show where that fits into your picture
* Show whe…