C - The C Answer (2nd Edition) - Exercise 1-7

/*
Write a program to print the value of EOF.
*/

#include <stdio.h>

main()
{
    printf("EOF is %d\n", EOF);
}

/*
Output:
EOF is -1
*/
posted @ 2017-05-25 09:50  zsychanpin  阅读(92)  评论(0编辑  收藏  举报