TATA ELXSI interview question

Diff between closures and function, escaping vs non escaping closures