Capgemini Interview Question

Basic OOPs concepts of CPP