can anyone explain why this is happening?

micsom's Avatar, Join Date: Oct 2008
Go4Expert Member
hi..

i have made a simple C program to copy 1 file to another file...using fgetc and fputc...
the code is working fine except 1 problem is that ˙ is appearing at the end of the destination file...can some1 please tell me why this is coming?..

by the way i am using Turbo C

thank you
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Are you fputc'ing the EOF?