Cognizant Interview Question

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