Re:Why do arrays start at 0?
by foobarbaz33 on Saturday September 10, 2022 @10:04AM
(#32790751)
But again your not starting at "index 0" of an array that exists.
This loop is not processing any physically existing array. In fact the compiler would remove this block of code as it is a no-op.
`for(int i=0; i < 0; ++i)` and it will run 0 times, the exact amount of times I expected