Embed presentation
Download to read offline







File pointers allow programmers to control the position in a file where read or write operations take place. There are four functions - seekg(), tellg(), seekp(), and tellp() - that respectively set or get the position of the get and put pointers used for input and output files. Each function either moves a pointer to a specified location defined by an offset and reference position, or returns the current position of the pointer.






