fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a = 123;
  5. int b = 456;
  6. printf("%d %d\n", a, b);
  7. a ^= b;
  8. b ^= a;
  9. a ^= b;
  10. printf("%d %d\n", a, b);
  11. return 0;
  12. }
Success #stdin #stdout 0s 4232KB
stdin
Standard input is empty
stdout
123 456
456 123