Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 580 Bytes

exercise1-7.md

File metadata and controls

27 lines (20 loc) · 580 Bytes

Exercise 1-7

Write a program to print the value of EOF

Process

No real process for this one, just an interesting exercise

I found that the value EOF is actually stored in stdio.h

interesting feature for exercise1-7

Final Code

#include <stdio.h>

int main() {
  printf("EOF int value: %d", EOF);
}

Output

output for exercise1-7

Back to Main