Q. Which file mode should you use to avoid overwriting an existing file? (A) w (B) x (C) r (D) a ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) x Explanation: 'x' mode raises an error if the file already exists.