Infosys interview question

What is the difference between static and dynamic scoping?