Question: When we open a file for writing and the file already exists: Question 2 4 Answer a . there will be a compiler error. b
When we open a file for writing and the file already exists:
Question Answer
a
there will be a compiler error.
b
there will be a runtime error.
c
the file contents will be overwritten.
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
