fork download
  1. #include <stdio.h>
  2.  
  3. int make_it(int *x,int *y, int *z){
  4. *x *= *y+*z;
  5. *y=*x<<1;
  6. *z=*x+*y;
  7. }
  8.  
  9.  
  10. int main(void) {
  11. int a=5, b=10 ,c;
  12. c=a+b;
  13. printf("%d%d",a,b);
  14. make_it(&b,&a,&c);
  15. printf("%d%d",a,b);
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 4264KB
stdin
Standard input is empty
stdout
510400200