Oracle interview question

Hello friends problem in c programming