Joke Collection Website - Talk about mood - Can anyone tell me what the difference is between recursion and iteration?

Can anyone tell me what the difference is between recursion and iteration?

To put it simply, recursion means calling yourself, such as:

int abc(...)

{

if( ...) //Recursion termination condition

{ return abc(...); }

return 0;

}

Recursion is to repeat a set of instructions and continuously derive new values ??based on the old values ??of variables, such as:

for(; ; ;) //Iteration termination condition

{

p>

a = b c;

b = a;

c = a;

}