HCLTech interview question

the basic