मराठी

In which of the file open mode, the new content will be overwritten on the old content? -

Advertisements
Advertisements

प्रश्न

In which of the file open mode, the new content will be overwritten on the old content?

पर्याय

  • <r>

  • <w>

  • <a>

  • <rb>

MCQ

उत्तर

<w>

Explanation:

The file is opened in write mode when you type <w>. If the file doesn't already exist, it will be created. If it already exists, all of its contents will be rewritten.

shaalaa.com
Opening and Closing a Text Files
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×