Computer Science, asked by valueeducation4216, 11 months ago

What is the use of seekg( ) & seekp( ).

Answers

Answered by khushi1226
0
seekg(), tellg(), seekp(), tellp()

In C++ we have a get pointer and a put pointer for getting (i.e. reading) data from a file and putting(i.e. writing) data on the file respectively. seekg() is usedto move the get pointer to a desired location with respect to a reference point.
Similar questions