Apple interview question

what is an interrupt and what's wrong with this c program