Question d’entretien chez Tarento

Asked to explain the answer for a coding qn