david chuah - 2011-07-30

HI
following is a simple programming i have done. the problem i encouter is , why
i can't end my program by Key in "EOF" hope the expert over here can advice
me.

include <stdio.h>

main()
{
int c;
c = getchar();

while (c!= EOF)
{
putchar (c);
c = getchar ();

}

return 0;
}
...