99 ways to program a hex, Part 5: C99 in K&R style