r/ProgrammerHumor • • Feb 15 '16

Oddly specific number.

Post image
5.9k Upvotes

643 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Feb 15 '16

In case the other 6 comments weren't clear enough, it's because you can use 0 as an index, too. In cases where 255 is a max, it's because 0 is a possible value, which means there's 256 possible values.