Infosys Interview Question

Basic question about my subject