how to switch values between integers? : <p>So I need to switch between A and B without using another integer.</p>

<p>I was able to do this easily with a third integer (tmp). Is there any way to do this without it?</p>

<pre><code>int a = 53, b = 12, tmp = 0;
tmp = a;
a = b;
b = tmp;
</code></pre>
