"The C Programming Language", 2nd edition, Kernighan and Ritchie

Answer to Exercise 1-7, page 17

Solution by Richard Heathfield

Write a program to print the value of EOF .


#include <stdio.h>

int main(void)
{
  printf("The value of EOF is %d\n\n", EOF);
  
  return 0;
}



Back to index





You are visitor number - call again soon!