Hacker News new | ask | show | jobs
by jheriko 3465 days ago
there is a classic mistake here... the idea that pointer arithmetic does not rely on sizeof.

that's the entire mystery opened and closed afaik. sure you can use some obscure notation if you like, but why not just use sizeof?