TATA ELXSI interview question

Some basic tricky code snippets in an efficient way like swapping etc