fork download
  1. #include<stdio.h>
  2. #define print(x) printf("%d ", x)
  3.  
  4. int x;
  5. // void Q(int z)
  6. // {
  7. // z+=x;
  8. // print(z);
  9. // }
  10.  
  11. void P(int *y)
  12. {
  13. int x = *y + 2;
  14. // Q(x);
  15. // *y = x - 1;
  16. // print(x);
  17. }
  18. main(void) {
  19. x = 5;
  20. P(&x);
  21. print(x);
  22. }
Success #stdin #stdout 0s 5436KB
stdin
Standard input is empty
stdout
5