User:JWSchmidt~enwiktionary/recursion

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Illustration of recursion

English[edit]

noun[edit]

recursion[edit]

  • 2. What happens when a function calls itself.
example: the factorial function;
factorial(n) = n * factorial(n-1)
See also: Wiktionary.
See the section titled "recursion