Infosys interview question

Write a code to swap 2 numbers?