Space at the end of input line causes while loop to go one more time than it should

前端 未结 0 1592
走了就别回头了
走了就别回头了 2020-12-01 02:34
#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif

#include 
#include 


int main(void)
{
    int a = 0, f = 0;
    char ch[1];
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题