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