C·2025年6月20日C语言中getchar()和putchar()的用法函数 头文件 原型 返回值含义 --- --- --- --- getchar int getchar(void); 成功时返回读取字符的 无符号 char 强制转换后的 int ;读到文件结尾或出错时返回 EOF (-1) putchar…约 1 分钟读完