Diamanti interview question

Questions based on C programing, algorithm, coding