Why indices of an Array start with 0
Why do indices of an array start with 0 and not 1?
The base address of an array is also the address of it's first element. To calculate the address of a random element in an array, the following formula is used:
A = B + P * s
where,
A : Desired add...
saurabhsuryavanshi.hashnode.dev2 min read