Computer Science, asked by sayalidoshi315, 16 days ago

what are the different modes in which a file can be opened...?​

Answers

Answered by mahwishnaz072021
4

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.

Answered by harshthebrainliest14
2

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.

Will you like to be my friend

Itz Harsh

Similar questions