2 ms·
Yeah, there's a couple cases where this kind if thing cleans things up; use it with caution though. More amusing, but less useful outside the IOCCC: The C sub
by dllthomas 13y ago
Yeah, there's a couple cases where this kind if thing cleans things up; use it with caution though.
More amusing, but less useful outside the IOCCC:
The C subscripting operator performs an basically syntactic transformation, turning a[i] into (*(a + i)). This means that, counter-intuitively (if you're thinking of [] as a lookup) the construct i[a] works too because plus is commutative.