हिंदी

Which of the following functions changes the position of file pointer and returns its new position? - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following functions changes the position of file pointer and returns its new position?

विकल्प

  • flush ()

  • tell ()

  • seek ()

  • offset ()

MCQ

उत्तर

seek ()

Explanation:

The seek () function moves the file pointer to a given byte position.

shaalaa.com
Setting Offsets in a File
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×