Can anyone say what may cause the following?
I'm using fopen to open a file in read mode say test.txt. It reads it successfully but then it cannot open any other file with any other name/extension. Also,
when I copy other files' data into test.txt it doesn't read the new data at all! I tried closing the program and recompiling it but in vain! When I ran it, it again showed the stale data of the initial test.txt file that it could read!