1 #include <stdio.h> 2 #include <string.h> 3 4 int main() 5 { 6 char a[1000]; 7 int i, n; 8 scanf("%s",a); 9 n = strlen(a); 10 for(i = n - 1; i >= 0; i--) 11 { 12 printf("%c", a[i]); 13 } 14 return 0; 15 }
标签:gpo can color scanf div scan printf clu return
1 #include <stdio.h> 2 #include <string.h> 3 4 int main() 5 { 6 char a[1000]; 7 int i, n; 8 scanf("%s",a); 9 n = strlen(a); 10 for(i = n - 1; i >= 0; i--) 11 { 12 printf("%c", a[i]); 13 } 14 return 0; 15 }
标签:gpo can color scanf div scan printf clu return
原文地址:https://www.cnblogs.com/zaijiefangbeidawang/p/8196729.html