Přes pomocnou proměnnou. char temp;temp = a;a = b;b = temp;Na to si můžeš udělat vlastní funkci, třeba prohod(a,b);