Infosys Interview Question

pointers..