Iteration vs Recursion

Most problems that can be solved with iteration ( for, while, do loops) can also be solved with recursion. Pros and cons are: Anyway up, as an example of both technics here is some code to give the factorial of a number. Iteration------ Recursion

Top Master Index C Keywords Functions


Martin Leslie