You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\\When function is called within the same function, it is known as recursion in C++. The function which calls the same function, is known as recursive function.
\\A function that calls itself, and doesn't perform any task after function call, is known as tail recursion. In tail recursion, we generally call the same function with return statement.
\\an example to print factorial number using recursion in C++ language.