Question: why we use fseek in c?
Answer: fseek is a C function belonging to the ANSI C standard library, and included in the file stdio. h. Its purpose is to change the file position indicator for the specified stream. Because fseek uses 32 bit values on many platforms it has a limitation of maximum 2 gigabyte seeks.