Infosys Interview Question

Noth unexpected