Question: Which file mode flag specifies that open ( ) should open a file for writing, create it if it does not exist, and truncate the
Which file mode flag specifies that open should open a file for writing, create it if it does not exist, and truncate the file if it does.
Question options:
t
a
r
w
Any of the above specify this behavior.
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
