要求:不能使用C函数库中的字符串操作函数。
思路:在递归函数的调用时,先应该定义一个指针型char字符串。函数内部应先调用自己,在打印,这样才能保证字符串是从最后一个开始输出。
1 #include<stdio.h> 2 3 void Reversestring(char* str) 4 { 5 if (*str == '