请教一个程序死循环问题~~~~~高手请进!!!
#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:45
2008-03-20 14:46
2008-03-20 21:01
2008-03-20 21:02
2008-03-21 13:46
2008-03-23 16:26
2008-03-25 19:02