Tech Mahindra interview question

C language basics