0
Can explain why output of following code is 12345 but not 543210?
int loopy(int i) { if(i==0) {printf("%d", i);} else{ loopy(i-1); printf("%d", i); } } loopy(5);
1 Odpowiedź
0
how does it counts up?
int loopy(int i) { if(i==0) {printf("%d", i);} else{ loopy(i-1); printf("%d", i); } } loopy(5);