GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
4. | Which of the following operations can be performed on the file "NOTES.TXT" using the below code? | |
A. | Reading | |
B. | Writing | |
C. | Appending | |
D. | Read and Write | |
Answer: Option D | |
Explanation: | |
r+ Open an existing file for update (reading and writing). |
|
Tutorial Link: |