java - How does Array indexing work? -


this question has answer here:

can explain array[++index] vs array[index++]?

i reading data structure book , seems notation have difference.

array[++index] first add 1 variable index , gives value array[index++] give value @ index , increment index


Comments