Capgemini Engineering interview question

Question related to programing on C and data structure