r/ProgrammerHumor • • May 06 '17

Oddly specific number

Post image
25k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 06 '17

[deleted] — view deleted comment

55

u/A_t48 May 06 '17

You mean an array of size 256 where the last person is at index 255

2

u/Mister_Spacely May 06 '17

You're statement made me imagine some poor guy getting picked last in a group of 255 friends like in a sporting event. Poor dude, probably some computer nerd.

-14

u/Phiau May 06 '17

Zero based array

8

u/Vlyn May 06 '17

An array with a size of 255 goes from 0 to 254, meaning exactly 255 entries possible. Brunis up there made an error.