Tech Mahindra Interview Question

Questions from C and data structure