fork download
  1. #include<stdio.h>
  2.  
  3. int n = 0;
  4. int f(int x, int y)
  5. {
  6. n = x + y;
  7. }
  8.  
  9. int main()
  10. {
  11. int x;
  12. int y;
  13. if(n==0){
  14. f(x=1, y=2);
  15. printf("%d\n", n);
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
3