Pergunta de entrevista da empresa Tata Consultancy Services

explaine code given in nextnqt exam