I am using the Android NDK to make an application primarily in C for performance reasons, but it appears that file operations such as fopen do not work correctly in Android.
Other answers are correct. You can open a file through the NDK using FILE and fopen, but don't forget to place a permission for it.
FILE
fopen
In the Android manifest place: