0
5.5kviews
What is recursion? Write a program in C to calculate sum of n natural numbers using recursion.

Mumbai University > COMPS > Sem 3 > Data Structures

Marks: 5 M

Year: Dec 2014

1 Answer
0
1.3kviews
  • Recursion is an ability of a function or algorithm to repeatedly call itself until a certain condition is met. Such a condition is called ab base condition.
  • The function which repeatedly calls itself is called recursive function.
  • Recursion is implemented with stacks which help in keeping the function arguments, return …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.