Vidyalelo
C Programming · Q168

File Input Output

Programming · C Programming · question 168

Q168

What is the function of the mode ' w+'?

A.
create text file for writing, discard previous contents if any
B.
create text file for update, discard previous contents if any
Answer
C.
create text file for writing, do not discard previous contents if any
D.
create text file for update, do not discard previous contents if any

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board