Question d’entretien chez Infosys

Asked the simple question based on logic