Can explain why output of following code is 12345 but not 543210? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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);

20th Oct 2021, 9:54 PM
Muhammadirshod Koziev
Muhammadirshod Koziev - avatar
1 ответ
0
how does it counts up?
21st Oct 2021, 2:17 AM
Muhammadirshod Koziev
Muhammadirshod Koziev - avatar