- 博客(1)
- 收藏
- 关注
原创 输入一行字符串,把字符串翻转
输入一行字符串,把字符串翻转 Input: I____am__a__student Output: student__a__am____I #include <stdio.h> #include <stdlib.h> void reverse_words(char a[],int p) //逆序打印储存逆序字母的数组 { for ( p--; p >= 0; p--) { printf("%c",a[p]); } } int
2020-11-29 01:25:35
412
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅