Quote:
Originally Posted by imMute
There are two types of people: 1) those who start array indexes at one and 1) those who start array indexes at zero
|
On the other hand the bit's number calculates it's value:
Bit 0 is 2 power 0 = 1
Bit 1 is 2 power 1 = 2
Bit 2 is 2 power 2 = 4
Bit 3 is 2 power 3 = 8
And that's a good reason to start at zero...