Why isn't indexing a 2D Array by pointer arithmetic the same as using [j] brackets, though the spec says it should be?
Advertisements Learning C, I stumbled upon this video on which page 82 of the C99 specification appears (though it’s dated 2007, maybe a revision?). Therein it is stated that any expression that indexes arrays using subscripts, such as E1[E2], where one is pointer to object type and the other is type integer, is identical to… Read More Why isn't indexing a 2D Array by pointer arithmetic the same as using [j] brackets, though the spec says it should be?