用数组编写一个函数判断一个回文数---求救

日期:2016-03-20 07:02:20 人气:1

用数组编写一个函数判断一个回文数---求救

#include #include #include void huiwen(char *str,int n); int main(void) { char str[10];/* 作为储存字串的阵列 10 是容量 */ int len;/* 储存 计算字串的后 长度数据元 */ printf("请输入字串:"); scanf("%s",str); len=strlen(str); huiwe
    A+
热门评论