There are many other examples of this, for instance always use 'sizeof()' even if you know your storage allocation units, don't rely on the byte order of your words (endian-ness), stick to one statement (explicit or implicit, the example line from the article has two statements).
What makes the example so tricky is that you have to know the innards of the compiler (or at least of the expression evaluator) to be able to correctly predict what that code will do.
Some people think there are bonus points to be had for such 'cleverness' because you only need one line where someone else needs two. There isn't and all it will give you (or, possibly your successor) is a bunch of extra gray hairs.
A similar case can be made for always using brackets, even when they're optional, not using assignments in condtionals and so on.
It's the kind of thing where a junior programmer will go 'oh, cool!', and a seasoned one will go 'oh oh'.
In the case of complicated expressions feel free to add some extra parentheses to make the order of evaluation implicit. They don't cost you anything and they'll allow someone else to read the expression from the inside to the outside instead of from the left to the right and then apply the order-of-evaluation rules.
If you come across:
x = y + z*a + b*d^i++;
And you think it does the same as: x = y + (z*a) + (b*(d^i)) ;
i++;
Then think again, it is equivalent to: x = (y + (z * a) + (b*d))^i);
i++;
There is absolutely no penalty for writing it down explicitly.Sure, some seasoned old hand is going to say, hey, don't you know the expression evaluation rules by heart ? But don't let that intimidate you, that's probably also the person that spends a lot of time in the debugger fixing their extreme cleverness.
The compiler will generate exactly the same code for either the first or the last example (but not the second), there really is 0 penalty, use that.
This would be a good time to recommend to folks "Code Complete" and "Clean Code" -- both good books on how to write good code.
Good code should not be a mystery novel. Clever is fun, but problematic.