07-24-2023, 04:25 AM
As Joel points out in [Stack Overflow podcast #34](
Joel says that it's because of pointer arithmetic but I still don't understand. **Why does `a[5] == 5[a]`**?
[To see links please register here]
), in [C Programming Language]([To see links please register here]
) (aka: K & R), there is mention of this property of arrays in C: `a[5] == 5[a]`Joel says that it's because of pointer arithmetic but I still don't understand. **Why does `a[5] == 5[a]`**?