使用方法 :. gets(字串); ... 所以我們看下面的程式,會發現scanf(“%s”,str)只會讀到空格前面的字串: ... Output: Hello World scanf("%s",str);
確定! 回上一頁