Tech Mahindra Interview Question

Basic questions and little bit depth not tough