the queston that i have is about arrays in c++.
The output is -3 (The second element of the array). I didnot understand the principle of accessing the array using this method as what I know is that if i want to access the 2nd element of the array i would use z and the multiply buly -1 to to get -3. My question is what is the theory behind using -2[z] instead of z*-1 and how are they equivalent.
Source: Windows Questions C++