2
Answers

why index value is starts from 0 in array

Sandy Surwase

Sandy Surwase

9y
387
1
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)
0
jemin patel

jemin patel

NA 18 613 7y
the error in crome
 
not allowed to load local resourse
 
to rectified it i try this but it not working
 
 C:\Program Files\Google\Chrome\Application\chrome.exe –allow-file-access-from-files -disable-web-security
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
Enable browser develop tool by pressing F12. In console tab see if you are getting any error.
 
Secondly,  inspect an element what is rendring in chrome browser.