Input / Output

Q1:
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 Reading

B Writing

C Appending

D Read and Write

ANS:A - Reading

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



img not found
img

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.