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