Pergunta de entrevista da empresa Capgemini

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