-
What does the following segment of C code do?
fprintf(fp, "Interview Mania!");
-
- It writes as well as reads “Interview Mania!” to and from the file and prints it
- It writes “Interview Mania!” into the file pointed by fp
- It reads “Interview Mania!” from the file and prints on display
- All of above
- None of these
Correct Option: B
It writes “Interview Mania!” into the file pointed by fp