fopen from working directory


Not sure this is the right place to ask but i will try, maybe one of you can help.

I'm trying to use "fopen" for a file located in my working directory however it is not working and i'm not sure for the correct path so i thought of trying something like "getcwd".
Is there any recommendation for opening a file from a relative path?