Question: [ 1 3 . 2 ] Match the following i / o modes to their corresponding definitions. W + open a file for writing, overwriting
Match the following io modes to their corresponding definitions.
open a file for writing, overwriting anything already there and creating the file if it does not exist hat
r Choose...
a
open a file for reading and writing
open a file for reading and writing, creating the file if it does not exist
r open a file for writing, overwriting anything already there and creating the file if it does not exist
open for reading
open for exclusive creation failing if the file already exists
open for writing, appending to the file if it exists
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
