Capgemini Interview Question

c programming, oops,c++