what happens in Vegas stays in Vegas

  • 12
    A state law forbids parameters from being passed by reference to Vegas
  • 2
    Wow, this made me laugh so hard😂
  • 1
    void vegas(int a, int b) {
    a ^= b;
    b ^= a;
    a ^= b;

    // I don't remember if that's XOR, but it should work without using an intermediate value. Nevertheless, it stills stays in fucking Vegas and nobody will ever know.
  • 1
    That's awesome haha
  • 0
    On Point!
Add Comment