Infosys Interview Question

Explain the internal working when you write a program.