Domanda di colloquio di Capgemini

Write a program of swapping two numbers with and without using 3rd variable?