WABCO interview question

c programming