Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

If I create a file using fopen, where would the file be created and stored (I am accessing gdb from a Windows 10 PC)?

0 votes
asked May 29, 2018 by Scully 101 (120 points)

1 Answer

0 votes
answered May 30, 2018 by anonymous
In the directory where that program is located
commented May 31, 2018 by Scully 101 (120 points)
Thank you. I thought the code is stored online. So I could not see the file that I had created. Is there a special filepath that we must use to access the file? (I don't think my code is stored on my PC.)

Thank you again.
commented Jun 9, 2018 by anonymous
I doubt this online compiler provides you space to create files. If that's something you want to try, install MinGW on your computer and execute the program using that.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...