Infosys Interview Question

i am not remember correctly