What is the method of defining functions called, in which the function being defined is applied within its own definition?
-
Macro
-
Iteration
-
Sub function
-
Recursion
-
Nested Function
D
Correct answer
Explanation
The most common application of recursion is in mathematics and computer science, in which it refers to a method of defining functions in which the function being defined is applied within its own definition. Specifically this defines an infinite number of instances (function values), using a finite expression that for some instances may refer to other instances, but in such a way that no loop or infinite chain of references can occur.