Pregunta de entrevista de Cognizant

Write a program to swap two numbers, with and without another variable.