#include <stdio.h> int main() { char str[20]; scanf("%[abc]", str); printf("%s\n", str); return 0; }. 14.4.2 gets()與fgets()函式. 使用scanf()在讀取字串時, ...
確定! 回上一頁