which data structure when using recursion code example
Example: recursion data structure
int function(int value) {
if(value < 1)
return;
function(value - 1);
printf("%d ",value);
}
int function(int value) {
if(value < 1)
return;
function(value - 1);
printf("%d ",value);
}