Xoriant Interview Question

Q1: What is closure and write a program for closure function with example.