本文共 191 字,大约阅读时间需要 1 分钟。
//C程序设计第四版(谭浩强)//章节:第七章 用函数实现模块化程序设计//题号:7.5//题目:写一个函数,使输入的一个字符串按反序存放,在主函数中输入和输出字符串。 #include #include void reverse(char s[]){ int i,j,len=strlen(s); char t; for(i=0,j=len-1;i
转载地址:http://szag.baihongyu.com/