code

1
2
3
4
5
6
7
int a[10] = {2,3,4,5};
int i = 3;

bool ok = (a[i] == i[a]);//ok == true
/*
a[i] == *(a+i) == *(i+a) == i[a]
*/