作者在 2009-02-13 09:54:47 发布以下内容
/* Write a program to print the value of EOF */
/* 1st version */
#include <stdio.h>
int main(void)
{
int c;
{
int c;
c = EOF;
printf("the value of EOF is %d",c);
getch();
return 0;
}
return 0;
}
===============
/* 2nd version */
/* 2nd version */
#include <stdio.h>
int main(void)
{
printf("the value of EOF is %d",EOF);
getch();
return 0;
}
{
printf("the value of EOF is %d",EOF);
getch();
return 0;
}