Some simple C problems from the uni