Report Bug

QusWhat is tail recursion? Qusटेल रिकर्शन क्या है?


A. A recursive function that has two base cases
B. A function where the recursive functions leads to an infinite loop
C. A recursive function where the function doesn’t return anything and just prints the values
D. A function where the recursive call is the last thing executed by the function


Solution
D. A function where the recursive call is the last thing executed by the function



Explanation
A recursive function is tail recursive when recursive call is executed by the function in the last.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz