Capgemini Engineering interview question

Mainly on the C, data structures, string manupulations