josiftepe

Untitled

Dec 22nd, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void rekurzija(int i) {
  5.     if(i == 11) {
  6.         return;
  7.     }
  8.     printf("%d\n", i);
  9.     rekurzija(i + 1);
  10. }
  11. int main()
  12. {
  13.     rekurzija(1);
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment