Hacker News new | ask | show | jobs
by wadd1e 905 days ago
>So I'm wondering yet again: why do people find C pointers so difficult to grok?

For me, understanding pointers to data types was not the hard bit(int* or some_struct*), but wrapping my head around *array being a pointer to the first part of a contiguous segment of memory took a lot of time. Once that idea(and what ++array_pointer really did) settled in my head, pointers felt fairly normal to deal with.