Sandy Surwase

Sandy Surwase

  • NA
  • 287
  • 30.6k

why index value is starts from 0 in array

Jul 14 2015 12:28 PM
why index value is starts from 0 in array?
I saw some answer like this index is used as an offset.The first element of the array is exactly contained in the memory location that array refers (0 elements away), so it should be denoted as array[0].
I cant understand this one can u explain in easy language. 

Answers (2)