English

Which attribute informs information about how a file was opened? -

Advertisements
Advertisements

Question

Which attribute informs information about how a file was opened?

Options

  • <file.closed>

  • <file.mode>

  • <file.name>

  • <file.object>

MCQ

Solution

<file.mode>

Explanation:

The <file.mode> option will inform you of the access mode used to open the file.

shaalaa.com
Opening and Closing a Text Files
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×