fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a = 10;
  6. int b = 20;
  7.  
  8. printf("%d %d\n", a ,b);
  9.  
  10. a^=b^=a^=b;
  11.  
  12. printf("%d %d", a ,b);
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
10 20
20 10