हिंदी

Which of the following statements are true? (1) When you open a file for reading, if the file does not exist, an error occurs. -

Advertisements
Advertisements

प्रश्न

Which of the following statements are true?

विकल्प

  • When you open a file for reading, if the file does not exist, an error occurs.

  • When you open a file for writing, if the file does not exist, a new file is created. 

  • When you open a file for writing, if the file exists, the existing file is overwritten with the new file.

  • All of the mentioned.

MCQ

उत्तर

All of the mentioned.

shaalaa.com
Reading from a Text File
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×