Random Access File Operations — Study Resources & PYQs
Random access operations using seekg, seekp, tellg and tellp.
- Estimated study time: 30 minutes
Study resources
- GeeksforGeeks - Random Access in a File using C++ (Article) — Study resource for Random Access File Operations.
- cppreference — Class Templates (Article) — C++ class templates and template syntax.
Random Access File Operations previous year questions
- (a) Explain the role of seekg(), seekp(), tellg(), tellp(), function in the process of random access in a file. (10) (b) Write a C++ program involving working…
- (a) (i) Write statements using seekg( ) to achieve the following : (a) To move the pointer by 15 positions backward from current position. (b) To go to the beg…
Taught in these subjects
- Object Oriented Programming Using C++ — CST3301 · Government College of Engineering and Technology, Jammu