Does fread read contiguos blocks of content? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does fread read contiguos blocks of content?

Suppose I want to read several blocks of n size until condition c is met (a while loop). If I use fread, will it read sequential blocks of content on every iteration or it only reads the first block of size n?

24th Jun 2020, 3:36 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar
1 Answer
+ 1
Thanks, ~ swim ~. Just what I needed to know.
24th Jun 2020, 3:51 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar