WNS Interview Question

Vba on by ref vs by value, sub vs function