HCLTech interview question

C programming