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