answersLogoWhite

0

fread(s,i1,i2,f) Enter i2 dataitems,each of size i1 bytes,from file f to string s.

fseek(f,1,i) Move the pointer for file f a distance 1 byte from location i.

ftell(f) Return the current pointer position within file f.

fwrite(s,i1,i2,f) send i2 data items,each of size i1 bytes from string s to file f.

The data type returned for functions fread,fseek and fwrite is int and ftell is long int.

User Avatar

Wiki User

17y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
ReneRene
Change my mind. I dare you.
Chat with Rene

Add your answer:

Earn +20 pts
Q: How would you use the functions fseek freed fwrite and ftell?
Write your answer...
Submit
Still have questions?
magnify glass
imp