C Function Puzzles