Honeywell interview question

Write a coding questions in c programming.