+ 1

Please what are other examples of recursive functions in c++??

Recursive function

2nd May 2019, 6:34 PM
Dulgan Danjuma
Dulgan Danjuma - avatar
2 ответов
+ 2
Powers Factorial Fibonacci series
2nd May 2019, 7:14 PM
Hothouseinwar Polik
Hothouseinwar Polik - avatar
+ 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...
2nd May 2019, 6:58 PM
Anton Böhler
Anton Böhler - avatar