Input / Output

Which of the following operations can be performed on the file 'NOTES.TXT' using the below code?
FILE *fp;
fp = fopen('NOTES.TXT', 'r+');

A Read and Write

B Appending

C Reading

D Writing

ANS:A - Reading

r+ Open an existing file for update (reading and writing).

img not found

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.