Infosys interview question

Programs using c language