What is, in your opinion, the most surprising, weird, strange or really “WTF” language feature you have encountered?

Please only one feature per answer.

320 s
320

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.

Leave a Reply

Your email address will not be published. Required fields are marked *