Differentiate between random access and sequential access file-01153

Online Quiz This subjective question is related to the book/course vu eco403 Macroeconomics. It can also be found in vu eco403 Mid Term Solved Past Paper No. 1.

Question 1: Differentiate between random access and sequential access file?
Answer:

Random access file:

Random access files are not in sequence mean its not necessary put that's thing first that written first we put any thing from file any where. So tellg() and tellp() are the two very useful functions while reading from or writing into the files at some certain position.

Sequential access file:

Sequential access files are simple character files. while working with the sequential access files we write in a sequence not in a random manner


Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background