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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?