+ 1
Please what are other examples of recursive functions in c++??
Recursive function
2 ответов
+ 2
Powers
Factorial
Fibonacci series
+ 1
recursion is used in many places.
you can use it when calculating
5! (five factorial)
An advanced exemple would be in a self programmed List class which calls recursivly on all List-elements to add an object to the end.
but most iteratable problems can be done with recursion too...