Hey friends can anyone please help me with this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hey friends can anyone please help me with this code

I'm literally working out this recursion code but I I'm not getting the actual answer.....When I run this code it shows the output as 33 but I don't know how its answer is 33...... can anyone please help me by explaining with step by step procedures.🥺 #include <stdio.h> https://code.sololearn.com/c3KP5ahZZE86/?ref=app

26th Jul 2022, 10:16 AM
Keerthana.S
Keerthana.S - avatar
3 Answers
+ 1
I think recursion explanation confuses more.. Need a clear steps of understandings.. Hope that tracking calls and returnings may helped something to understand.. You're welcome..
26th Jul 2022, 7:46 PM
Jayakrishna 🇮🇳
+ 1
What is your expected output ? edit: Keerthana.S may be weird, but calls and returns are idented properly.. read comments hope it helps.. https://code.sololearn.com/cYStJ65gr586/?ref=app
26th Jul 2022, 11:43 AM
Jayakrishna 🇮🇳
+ 1
Thank you so much🥺😊🙏🏻you really helped me to understand the steps and procedures of this program thank you so much💜
26th Jul 2022, 7:22 PM
Keerthana.S
Keerthana.S - avatar