A user wants to write a C program for manipulating student records. The program contains a function for accessing the student file. The user wants to add some records to the file. Which of the...


A user wants to write a C program for manipulating student records. The program contains a function for accessing the student file. The user wants to add some records to the file. Which of the following line of code is used to open the student file for implementing this functionality?


Choose an answer



A fp = fopen ("studentfile.dat", "r");







B ch = fgetc(fp);







C fp = fopen ("studentfile.dat", "w");







D fputc (ch, fp);






Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here