Moog Inc. interview question

Introduction and some c questions