#recursionprograminjava
Explore tagged Tumblr posts
smartcherryposts · 7 years ago
Text
Recursion
Tumblr media
When The Function Is Called Within The Same Function, It Is Known As Recursion. The Function Which Calls The Same Function Is Known As Recursion. A Function That Calls Itself And Doesn't Perform Any Task After Calling Function,It Is Called As TailRecursion. In TailRecursion We Generally Call The Same Function With return statement  
Syntax
returntype recursionfuction() { recursive fuction(); }  
Example
Factorial Of A Number #include #include long int multiply numbers(int n) { if (n Read the full article
0 notes