#include<stdio.h>#include<string.h>
main()
{ int i; char c[5]; puts(gets(c)); getch();}当我输入: abcdefghijkelmn 时为什么还能输出 : abcdefghijkelmn 呢? 想不通.请大家指教.
{ int i; char c; puts(gets(&c)); getch();}这样都行...
[此贴子已经被I喜欢c于2007-4-15 12:23:42编辑过]