Infosys Interview Question

They asked about, different Sorting Algorithms, how to swap two number in c without using a third variable.