Question d’entretien chez Accenture

given some code snippets and asked for outputs