linux下的scanf是不是遇到EOF也终止运行?发现个问题,在linux下输入EOF,scanf也会终止运行,而在Windows下则不会,是不是在linux下scanf遇到EOF也终止运行?[解决办法]scanf stops when it exhausts its format string, or when some input fails to match the control specification.