123k views
3 votes
What are the two functions in C that allow a programmer to randomly move the file cursor within a file stream, thus enabling random access. Please write down the names of the two functions and separate them by a comma only. As an example, assume the two functions are abc, and abe, you will write down your answer as abc,abe

User Dimmech
by
6.6k points

1 Answer

2 votes

Answer:

seekp(),tellp()

Step-by-step explanation:

The two functions in c ++ that allow a programmer to randomly move the file cursor within a file stream are : seekp(),tellp()

The functions place cursor in file stream and also access the values

User Uma Ilango
by
6.1k points