KPIT Technologies interview question

Questions on c