Pregunta de entrevista de Tata Consultancy Services

Logic to swap 2 variable values with and without using a third variable.