Recursion notes

Recursion
In c, it is possible for the functions to call themselves. A function
is called ‘recursive’ if a statement within the body of a function
calls the  same function.
Example
Suppose we want to calculate the factorial value of an
integer. We know that the factorial of a number is the
product of all the integers between 1 and that number. 
For example, 4 is  4*3*2*1. this can also be expressed as
4!=4*3!. Where ‘!’ stand for factorial. Thus factorial of a
number expressed in the form of itself.

program of Factorial recursion
https://docs.google.com/document/d/1mnCPUoh5wO6EN_3UrfW7JVFS3Ud3M2jNYb5fRcfjyKA/edit?usp=sharing

To get the video based on recursion please click here

Comments