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