Capgemini Interview Question

Whats closures in Swift and how it work