Tech Mahindra Interview Question

Why this