原文 标签 c segmentation-fault malloc fgets fputs. 我尝试了以下代码并遇到了段错误- int size=30; char *str; fputs(fgets(str,size,STDIN),STDOUT);
確定! 回上一頁