In recursion method which one is exit condition?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In recursion method which one is exit condition??

20th Dec 2019, 12:33 PM
Vignesh G
Vignesh G - avatar
2 Answers
+ 3
The one that doesn't return the function you called.
20th Dec 2019, 12:48 PM
你知道規則,我也是
你知道規則,我也是 - avatar
0
The one, that fails the condition to call it again.. Or statements which makes complete function execution. Ex: return
20th Dec 2019, 2:58 PM
Jayakrishna 🇮🇳