How can we start Array Index from Zero

How can we start Array Index from Zero?

E

Expert

Verified

It boils down to the concept of Binary digits. Obtain an array size of 64 for illustration. We begin from 0 and end at 63. We need 6 bits. But, when we were to start from 1 and end on 64, we would need seven bits to store similar number, therefore increasing the storage size.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.