I am not able to make sense of the first line inside the loop body.
How to interpret this statement:
printf("%d", i++[a]);
#include <stdio.h>
int main()
{
int a[5] = {1,2,3,4,5};
for(int i=0; i<5; i+2){
printf("%d", i++[a]);
printf(",%d",i);
}
return 0;
}
Output
1,12,23,34,45,5