Report Bug

QusWhich 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.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad