HCLTech interview question

How ping works