0
2.6kviews
What do you mean by recursion? Write a program, which will accept 2 nos from user say x and y. and calculate xy. Program should make use of recursion. If x is 3 and y is 4 then output should by $3^4$
1 Answer
0
59views

Recursive Function:

  • A function that calls itself is called as recursive function.
  • A recursive function must definitely have a condition that exists from calling the function again.
  • Hence there must be a condition that calls the function itself if that condition is true.
  • If the condition is false then it …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.