Duplicate
Given an array
myArray[5] = { 0, 1, 2, 3, 4 };
an element can be accessed as
2[myArray]
Why? When I see this expression I'm imagining C trying to access the pointer "2" and failing to add "myArray" pointer increments to dereference that address. What am I missing?