Question d’entretien chez Capgemini

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