What is Nostr?
[migrated to blacksky.co.uk] /
npub1srh…8g90
2024-01-01 23:23:13

[migrated to blacksky.co.uk] on Nostr: In C, b[a] is syntactic sugar for *(b + a), you can swap the pointer and the ...

In C, b[a] is syntactic sugar for *(b + a), you can swap the pointer and the subscript and gcc will compile it without even throwing a warning (-Wall -Wextra -Wpedantic); you can use an integer literal as long as either value is an array or a pointer.

HolyC explicitly forbids this for some reason.

Author Public Key
npub1srhg4hk63ew68kepu0znazgf9tdl089dkur5artp440htxqrc8zsqz8g90