Which parameters would you pass to fopen() in order to open a file for reading and writing (Choose 2)?
[4767,4769]
Correct:
--> r
--> +
In order to open a file for reading and writing, you should use the r+ mode parameter combination. Therefore, Answers B and D are correct.