Tech Mahindra interview question

Departmental wise and c,oops concepts