帮忙看看这个C语言程序,看看哪里错了!谢谢

#include<stdio.h>
char s[]={
'\t',
'0',
'\n',
'}',
';',
'\n',
'\n',
'/',
'*',
'\n',
(213 lines deleted)
0
};
/*
*The string is a
*representation of the body
*of this program from '0'
*to the end
*/
main()
{
int i;
printf("char \ts[]={\n");
for(i=0;s[i];i++)
printf("\t%d,\n",s[i]);
printf("%s",s);
}
并帮忙修改一下,无上感激
就是运行不了。。
帮忙修改一下看哪里错了
并说明它的功能,谢谢!

#include <stdio.h>

char s[]={
'\t',
'0',
'\n',
'}',
';',
'\n',
'\n',
'/',
'*',
'\n',
/*
* 不要下面这一行
* (213 lines deleted)
*/
0
};
/*
*The string is a
*representation of the body
*of this program from '0'
*to the end
*/
main()
{
int i;
printf("char \ts[]={\n");
for(i=0;s[i];i++)
printf("\t%d,\n",s[i]);
printf("%s",s);
}
温馨提示:内容为网友见解,仅供参考
第1个回答  2009-06-14
什么东西,说清楚好不好
相似回答