What is the basic difference between recursive and iterative?

Recursive vs Iterative Algorithms: Approach: In recursive approach, the function calls itself until the condition is met, whereas, in iterative approach, a function repeats until the condition fails. Programming Construct Usage: Recursive algorithm uses a branching structure, while iterative algorithm uses a looping construct.
For More Information Please Refer:
https://www.quora.com/What-is-the-difference-between-an-iterative-algorithm-and-recursive-algorithm
You May Also Like to Read: