Which of the following mode will overwrite the existing file while writing data.

1
open(filename, a)
2
open(filename, a+)
3
open(filename, w+)
4
open(filename, r+)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation