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