經安全檢測,此網站為安全網站,請放心前往原始網址!

Print reverse of a string using recursion - GeeksforGeeks

Write a recursive C function to print reverse of a given string. Program: # include /* Function to print reverse of the passed string */ void reverse(char *str) { if(*str) { reverse(str+1); printf("%c", *str); } } /* Driver program to test above function

www.geeksforgeeks.org

網址安全性掃描由 google 提供