Infosys Interview Question

c and c++