return(n * fact(n-1))
-
C++ Programming
Recursion In c / c++, Recursion in CPP with examples
What is recursion in c/c++: function that calls itself is known as a recursive function and this technique is known…
Read More »
What is recursion in c/c++: function that calls itself is known as a recursive function and this technique is known…
Read More »This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.