Sunday, June 28, 2015

The value of EOF

#include <stdio.h>

int main(void)
{
printf("EOF == %d\n", EOF);

return 0;
}

output:

EOF = = -1

No comments:

Post a Comment