0

Hey can someone explain what is recursion

25th Apr 2018, 6:38 PM
Teddy
Teddy - avatar
4 Answers
+ 3
int recursion(int a) { if (a < 5) recursion(++a); return a; } printf("Recursion: %d\n", recursion(0) );
25th Apr 2018, 8:57 PM
non
+ 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.
27th Apr 2018, 1:36 AM
Kirk Schafer
Kirk Schafer - avatar
+ 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...
25th Apr 2018, 6:48 PM
ADD AKU
ADD AKU - avatar