Originally Posted by shabbir View Post
When you open the file in append mode it always writes to the end of the file and not where the FILE_POINTER
Sir if so , why ftell() function is always resulting 0 whenever it is re-opened. It should give the last point from where it has to start writing. Moreover I am using fseek() function to move the pointer to -8 from end-of-file.