The _______ function is used to move the file pointer to a specified position in the file. 

  • tellp 
  • seekp 
  • get 
  • put
The seekp function is used with output file streams to set the position of the next character to be inserted into the file. It essentially moves the file pointer to a specified position, allowing for efficient and targeted writing or modifying of file contents.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *