fork download
  1. #include <stdio.h>
  2. void recurse();
  3. int main()
  4. {
  5. recurse();
  6. return 0;
  7. }
  8. void recurse()
  9. {
  10. static int n=987654321;
  11. if(n==0)
  12. return ;
  13. printf("%d",n%10);
  14. n=n/100;
  15. int a=n;
  16. printf("\n");
  17. recurse();
  18. if(a!=0)
  19. printf("%d",a%10);
  20. }
  21.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
1
3
5
7
9
9753