0
2.7kviews
What is recursion? Write a recursive function in C to find sum of digits of a number
1 Answer
0
84views
  1. The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called as recursive function.

  2. Using recursive algorithm, certain problems can be solved quite easily. Examples of such problems are Towers of Hanoi (TOH), Inorder/Preorder/Postorder Tree Traversals, DFS of Graph, etc

  3. In …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.