0
file in C
what happen if I open a file and forget to close it? fopen(fp,ârâ); but I don't write fclose(fp);
1 Answer
0
Umm, not familiar with C, but in higher level languages, I think a read-mode file either just sits in the RAM uselessly until the program terminates, or the garbage collector gets it when it sees it isnât going to be used again.