Example C.5 is a little more interesting because it contains memory leaks and array index errors.