printf ("%d",EOF);
This gives me -1
scanf ("%d",&a);
printf ("%d",a)
where a is int (as EOF is an int), this gives me some junk value
printf ("%d",getch());
This gives me 26
I've always given the input as ctrl+z (that's right, na!)
What's the correct value of EOF ?