Write a pseudo code for Swap the contents of two variables using a third variable.
int swap(int &a, int &b) { int c; c=a; a=b; b=c; }