HCLTech Interview Question

Simple questions in my case