what are the different modes in which a file can be opened...?
Answers
Here is your answer...
There are many modes for opening a file:
r - open a file in read mode.
r - open a file in read mode.w - opens or create a text file in write mode.
r - open a file in read mode.w - opens or create a text file in write mode.a - opens a file in append mode.
r - open a file in read mode.w - opens or create a text file in write mode.a - opens a file in append mode.r+ - opens a file in both read and write mode.
r - open a file in read mode.w - opens or create a text file in write mode.a - opens a file in append mode.r+ - opens a file in both read and write mode.a+ - opens a file in both read and write mode.
r - open a file in read mode.w - opens or create a text file in write mode.a - opens a file in append mode.r+ - opens a file in both read and write mode.a+ - opens a file in both read and write mode.w+ - opens a file in both read and write mode.
Hope it will be helpful for you.
Thanks for reading.
Mark as brainliest.
Answer
Hi Miss
Here's your
There are many modes for opening a file:
r - open a file in read mode.
w - opens or create a text file in write mode.
a - opens a file in append mode.
r+ - opens a file in both read and write mode.
a+ - opens a file in both read and write mode.
w+ - opens a file in both read and write mode.