请教一个程序死循环问题~~~~~高手请进!!!
#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:26
2008-03-20 14:31
2008-03-20 14:45
2008-03-20 14:46
2008-03-20 14:46
2008-03-20 15:29
2008-03-20 15:39

2008-03-20 16:13
2008-03-20 18:09

2008-03-20 19:01