0
55kviews
What is recursion? State its advantages and disadvantages.
1 Answer
6
4.5kviews

1. Recursion:

i. Recursion is a process in which the problem is specified in terms of itself.

ii. The function should be called itself to implement recursion.

iii. The function which calls itself is called as recursive function.

iv. A condition must be specified to stop recursion; otherwise it will …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.