Q6
What is the difference between 'r' and 'w' modes when opening a file in C?
A.
'r' is for read-only and 'w' is for write-only
B.
'r' is for reading and 'w' is for reading and writing
C.
'r' is for read-only and 'w' is for write-only, creating a new file
D.
'r' is for reading and 'w' is for writing, overwriting an existing file
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board