TCS interview question

Write a program om swapping without using third element