MathWorks Interview Question

swapping of two numbers using functions