Infosys Interview Question

there were some technical questions