Both return EOF on error. getchar() is a function equivalent to fgetc(stdin). Similarly, for the character output functions and related macros fputc(.
確定! 回上一頁