
David W. answered 08/01/16
Tutor
4.7
(90)
Experienced Prof
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.