while (scanf("%d",&n)!=EOF) ... 如果a和b都被成功讀入,那麼scanf的返回值就是2 ... int c; while ((c = getchar) != EOF) {
確定! 回上一頁