Saturday, May 10, 2008

Recursion

Recursion

Repetitive calling of the same function is called recursion.
Recursions are those functions which call itself again and
again. Recursive functions can easily become infinite loops.

An example program to find out the factorial of any number
is the one of the best example of recursion:




Out put of the program

0 comments:

Copyright

Copyright © 2008 C Tutorial, All rights are reserved