HCLTech interview question

Explain for loop from your POV