搜索
编程论坛
→
开发语言
→
『 数据结构与算法 』
→ 分析错在哪里
标题:
分析错在哪里
取消只看楼主
魔道生死逆动
等 级:
论坛游民
帖 子:18
专家分:34
注 册:2012-11-7
结帖率:
100%
楼主
已结贴
√
问题点数:10 回复次数:0
分析错在哪里
#include<stdio.h>
void main()
{
char ch,ss[127];
int i=0;
printf("input string :");
ch=getchar();
while (i<=127&&ch!='\0')
{
ss[i]=ch;
i++;
ch=getchar();
}
ss[i]='\0';
puts(ss);
}
2012-12-16 17:43
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-391509-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.255327 second(s), 10 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved