Report Bug
Qus : Which is the most appropriate definition for recursion?
Qusपुनरावृत्ति के लिए सबसे उपयुक्त परिभाषा कौन सी है?

A. A function that calls itself
B. A function execution instance that calls another execution instance of the same function
C. A class method that calls another class method
D. An in-built method that is automatically called


Solution
B. A function execution instance that calls another execution instance of the same function



Explanation
The appropriate definition for a recursive function is a function execution instance that calls another execution instance of the same function either directly or indirectly.



Report Bug