C語言旅途之使字符串反向問題

Ⅰ、字符串反向問題: ①、//代碼摘下直接可以運行 //字符串反向問題 #include<stdio.h> #include<string.h> int main() { char str[80],c; int i,j,n; printf(「Input the number of string:\n」); gets(str); //非格式化輸入函數; n=strlen(str); for(i=0,
相關文章
相關標籤/搜索