Write a program to print the value of EOF. - C Data Type

C examples for Data Type:char

Description

Write a program to print the value of EOF.

Demo Code

#include <stdio.h>

int main(void)
{
    printf("The value of EOF is %d.\n", EOF);
    return 0;//  www  .  ja va2  s.c  om
}

Result


Related Tutorials