मराठी
महाराष्ट्र राज्य शिक्षण मंडळएचएससी विज्ञान (संगणक विज्ञान) इयत्ता १२ वी

Write the Use of Following File Pointers with an Example : Seekg( ) - Computer Science 1

Advertisements
Advertisements

प्रश्न

Write the use of following file pointers with an example :

seekg( )

थोडक्यात उत्तर

उत्तर १

Seekg(): This function is used to search the data byte in a file when the file is opened in read mode.

shaalaa.com

उत्तर २

SEEKG() →is used to move the get pointer to a desired location with respect to a reference point.

Syntax : file_pointer.seekg (number of bytes , Reference point);

Example : fin.seekg(10,ios :: beg);

shaalaa.com
C++ Programming
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2017-2018 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×