Iteration in programming is when you process a list/table of data in a loop such as while, for or foreach
for (int i = 0; i < 10; i++) {
//Do something useful here
}
Recursive is however when you call the same function over and over again until all the data has been finished processing. This method is often used with abstract programming on data types like linked lists, binary trees or graphs.
static int processItems(element linkedList)
if (!isEmpty(linkedList->Child))
processItems(linkedList->Child);
return 0;
}