fork download
  1. #include <stdio.h>
  2.  
  3.  
  4. void add_k_to_xy(int k, int z)
  5. {
  6. z = z + k;
  7. printf("kari%d",z);
  8. }
  9.  
  10. int main()
  11. {
  12. int z=0;
  13. z = z + 3;
  14. printf(" z:%d\n",z);
  15.  
  16. add_k_to_xy(4,z);
  17.  
  18. printf(" z:%d\n",z);
  19.  
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
 z:3
kari7 z:3