by edanm · 14y ago · 0 comments
A little bit of C trivia:
In C, arrays can be indexed like so:
a[10] which is very common.
However, the lesser known form (which really does work!) is:
10[a] which means the same as the above.
Since addition is commutative, * (X + Y) can be rewritten as * (Y + X) which is a synonym for... Y[X]