Capgemini Engineering Interview Question

question on c, c++, linux