为什么循环结束后,最后那个printf 不会运行
main() { long nc = 0; int c; while ((c=getchar()) != EOF) ++nc; printf("%d", nc); }
你怎么知道循环结束了,而不是死循环了你是怎么输入EOF的
你怎么判断没执行的?