Earlier quoted context omitted.
An array of length 0 starts at 0 and ends with 0
> An array of length 0 starts at 0 and ends with 0 Nope. The moment you "start" somewhere you occupy 1 unit of memory. Thus no longer an "array of length 0". There is no such thing as an array of length 0. It absolutely does not exist. You cannot write source code to represent it. ie assuming we are talking about the pure data structure of an array. Some languages may have some abstraction built on of arrays (ie c-st…
iopq points out Rust as a language that does allow zero length arrays in a sibling comment.
While ISO C does not allow zero length arrays, GNU C does. There’s also flexible array members, which can be length 0.