Q. Which file mode creates a new file and allows writing? (A) x (B) r+ (C) a+ (D) r ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) x Explanation: The 'x' mode is used to create a new file and open it for writing.