News for hackers. Stuff that matters.
Re:Everything you need to know about pointers in C (2010) by pjc50 on Tuesday September 15, 2020 @07:04AM (#24479851)
> Pointers in C are a much higher level abstraction.

Not really; almost all programmers treat them as addresses and almost all compilers represent them that way. Regardless of what the standard actually says. Leading to surprises when this doesn't hold true, and awkwardnesses of the 16-bit x86 "near/far" pointers.

I mean, that's the only reason that "array[index]" and "index[array]" are interchangeable; you don't see that in other languages.

There are no comments on this comment yet.