OPNET interview question

A code on air plane priority in C