Capgemini Interview Question

Technical questions on C++