From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/TECHNIC/itter_rec.html | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 reference/C/TECHNIC/itter_rec.html (limited to 'reference/C/TECHNIC/itter_rec.html') diff --git a/reference/C/TECHNIC/itter_rec.html b/reference/C/TECHNIC/itter_rec.html new file mode 100644 index 0000000..73998b0 --- /dev/null +++ b/reference/C/TECHNIC/itter_rec.html @@ -0,0 +1,49 @@ +Iteration vs Recursion. + +
+
+

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 + +
+ -- cgit v1.2.3-54-g00ecf