+ 1
Is there any other condition possible apart from "if else" for recursion functions?
3 Answers
0
How you telled you need conditions for break recursion and then you can use only conditional expressions then:
- if else
- switch
- condition ternary operator
That its