Tech Mahindra Interview Question

Basic questions about technical part