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