Hacker News new | ask | show | jobs
by sparkie 10 days ago
> I'm not sure if C even requires a pointer to be just a linear address, as opposed to something structured.

It doesn't. The standard does not require any particular representation for pointers. It does specify that addition and subtraction on them is possible - but does not specify how this occurs - only that for example, if you have an array `int x[]`, then `x + 1` should point to the second item (index 1) in the array.