Capgemini Interview Question

C++ basics, Design patterns