Lockheed Martin Interview Question

Some code review questions on c.