a small collection of gotchas in C