Examveda

What does the following segment of C code do?
fprintf(fp, "Copying!");

A. It writes "Copying!" into the file pointed by fp

B. It reads "Copying!" from the file and prints on display

C. It writes as well as reads "Copying!" to and from the file and prints it

D. None of the mentioned

Answer: Option A


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output