Question: What is recursion used for? Recursion is used to create loops in languages where other loops are not available. We use recursion only to implement

What is recursion used for?
Recursion is used to create loops in languages where other loops are not available.
We use recursion only to implement mathematical formulas in code.
Recursion is used to iterate through files in a single directory.
Recursion is used to call a function from inside the same function.
 What is recursion used for? Recursion is used to create loops

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!