Nityo Infotech interview question

Technical Interview from client and nityo team