最新 C语言getchar 和gets 的用法 区别: 1、gets读一行,getchar()读一个字符。函数原型:char*gets(char*ptr);intgetchar(void); 2、函数用法:1)gets()用于从标准输入流st...... 2025-08-27 10