Capgemini Engineering Interview Question

Basic programming, c, c++, oops