#include <stdio.h>
int main()
{
int a[] = {1, 2, 3};
printf("%d", 0[a]);
printf("\n%d", 2[a]);
return 0;
}
Output:
1
3
I know how to access the array element with the index, but how this above syntax accessing the first value in both scenarios and add the prefixed numbers?