TCS Interview Question

Write a program om swapping without using third element