हिंदी

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

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • flush ()

  • tell ()

  • seek ()

  • offset ()

MCQ
Advertisements

उत्तर

seek ()

Explanation:

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

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

Englishहिंदीमराठी


      Forgot password?
Use app×