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