请教个死循环问题~~~
#include<stdio.h>#include<string.h>
main()
{ char xx[]="1,2,3,4,5,0";
strcat(xx,"6789");
printf("%s\n",xx);
}
运行时出现死循环,持续输出1,2,3,4,5,06789
去掉0时可以正常运行,且出现abnormal program termination,其他就不行
2008-03-20 14:28
2008-03-20 14:57
2008-03-20 21:05
2008-03-22 08:04
2008-03-22 08:05
2008-03-22 13:28
2008-03-25 23:49
2008-03-26 09:46
2008-03-26 10:39
2008-03-26 14:37