fork download
  1. #include <stdio.h>
  2. int x = 10;
  3. int main( )
  4. { x +=f1() + f2() + f3();
  5. printf("%d", x);
  6. return 0; }
  7. int f1() { int x = 25; x++; return x; }
  8. int f2() { x=3; static int x = 50; ++x; return x; }
  9. int f3() { x *= 10; return x; }
  10.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
137