title: How to swap two numbers without using temp variables or arithmetic operations?
body: <p>This equation swaps two numbers without a temporary variable, but uses arithmetic operations:</p>
  
  <pre><code>a = (a+b) - (b=a);
  </code></pre>
  
  <p>How can I do it without arithmetic operations? I was thinking about XOR.</p>