Tag - c programming swap function