Skip to main content

Timeline for Why are zero-based arrays the norm?

Current License: CC BY-SA 2.5

5 events
when toggle format what by license comment
S Sep 26, 2011 at 18:19 history migrated from stackoverflow.com (revisions)
S Sep 26, 2011 at 18:19 history made wiki Post Made Community Wiki
Jul 25, 2010 at 17:20 comment added R.. GitHub STOP HELPING ICE Indeed, I should have mentioned that.
Jul 25, 2010 at 16:34 comment added Steve Jessop Technically it's UB to take a "one off the beginning" pointer in C, unlike the "one off the end" pointer which is valid. In practice you'll get away with it now that we all use machines with flat address spaces. The code you have might provoke a compiler warning sometimes, though.
Jul 25, 2010 at 15:30 history answered R.. GitHub STOP HELPING ICE CC BY-SA 2.5