example of recursive function in data structure
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);
}