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