Question: how fopen works in linux?
Answer: The fopen() function opens the file whose name is the string pointed to by path and associates a stream with it. Open text file for reading. The stream is positioned at the beginning of the file. Open for reading and writing.