fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a=10,b=20,temp;
  5.  
  6. temp=a;
  7. a=b;
  8. b=temp;
  9. printf("a:%d b:%d",a,b);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
a:20 b:10