Altimetrik Interview Question

swap two numbers and some easy basics coding qns