> The usual arguments involving pointer arithmetic
Yeah, I think this exactly why it is zero based. The index became a simple multiplier for sizeof(int).
Yeah, I think this exactly why it is zero based. The index became a simple multiplier for sizeof(int).
Don't get me wrong, it's why I like C.
Maybe in the very early days, but that necessarily had to end as soon as compilers started doing non-trivial optimizations. Today, C is very far from being "portable assembly".