栈与递归实例

1.#include <stdio.h>

void reverse(char* s)
{
    if( (s != NULL) && (*s != '') )
    {
        reverse(s + 1);
        
        printf(" %c", *s);
    }
}

int main()
{
    reverse("12345");
    
    printf(" ");
    
    return 0;
}

2.

原文地址:https://www.cnblogs.com/wxb20/p/6142422.html