0
Hey can someone explain what is recursion
4 Answers
+ 3
int recursion(int a) {
if (a < 5)
recursion(++a);
return a;
}
printf("Recursion: %d\n", recursion(0) );
+ 3
Explanation by joke in a single comic panel:
Tabletop Roleplaying
https://explainxkcd.com/244/
On "xkcd.com" it would normally require knowledge of D&D (or at least roleplaying games) to get the joke, but ExplainXKCD usually does a pretty good job of helping.
+ 1
Example: Some person came to a cafe to read a book about how some person came to a cafe to read a book about how...