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