Inactive Tutor answered 08/01/16
Tutor
New to Wyzant
The statement --
fp=fopen("NOTES.TXT","r+");
fp=fopen("NOTES.TXT","r+");
uses fopen:
fopen(
const char *filename,
const char *mode
);
and the parameters are:
filename - file name
mode - kind of access that's enabled
Here, the mode is "r+" which means:
Opens for both reading and writing. The file must exist.