C Traps and Pitfalls (1988) [pdf]
literateprogramming.com
literateprogramming.com
For the curious, this paper _is_ the the basis for the aforementioned book...
"This paper, greatly expanded, is the basis for the book C Traps and Pitfalls (Addison-Wesley, 1989, ISBN 0–201–17928–8); interested readers may wish to refer there as well."
The "even a cast" part is wrong. The usual arithmetic conversions (including the integer promotion) is not done with the cast operation in C.
Some of the advice does seem odd to me, such as the warning regarding bitwise vs. logical operators.