今日C语言 char *ch; ch=(char*)malloc(sizeof(char)); gets(ch); printf("%s\n",ch); for(i=0;ch[i]!='\0';i++){}