+ 1
WHAT IS RECRUSIVE FUNCTION???? FROM BEGGING...
I am a beginner plz tell me (14yrs)
2 Antworten
+ 4
recursive function Is a function which call itself again and again the popular example of recursive function is tower of hanoi
A recursive function (DEF) is a function which either calls itself or is in a potential cycle of function calls. As the definition specifies, there are two types of recursive functions. Consider a function which calls itself: we call this type of recursion immediate recursion.
https://www.sololearn.com/learn/662/?ref=app
+ 2
A recursive function is a function which calls itself repeatedly.
function recurse{
alert("hi");
recurse(); }
when this function gets called at first it tgen calls it's interdiction and this repeats infinitely or until a condition is met