Infosys interview question

Explain the internal working when you write a program.