#include <stdio.h> #include <stdlib.h> int main() { printf("getchar() != EOF的对应值:%d\n", getchar()!=EOF); printf("EOF本身的值:%d\n", EOF); return 0; }