0

Pointer in array

Does pointer in array starts from 0 or 1?

8th Aug 2016, 5:58 AM
Dejan Culic
Dejan Culic - avatar
2 Respuestas
+ 2
start from 0 like array ("bob","rob","mike"); become array ([0] =>"bob" , [1]=>"rob", [2]=>"mike")
8th Aug 2016, 7:19 AM
francis
0
in array index always start's with 0 in any laguage whether it is php or java or c++ but you can change the starting index by giving the index by default it starts with 0
4th Sep 2016, 11:25 AM
keshav sharma
keshav sharma - avatar