Infosys Interview Question

Oops concept C vs Cpp