#include <stdio.h>
#include <string.h>
void print_reverse(char *s){
size_t len = strlen(s);
char *t = s + len - 1;
while( t >= s){
printf("%c",*t);
t--;
}
puts("");
}
C语言 字符串反转
猜你喜欢
转载自blog.csdn.net/chanmufeng/article/details/80784803
今日推荐
周排行