Capgemini interview question

the questions were completely from c programming and oops concepts.