Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C++
/
C file I/O
What does fread(buffer, sizeof(uint32_t), 8, stream) return?
from C file I/O
C23 (GCC 13.3.0)
beginner
2 min
What does fread(buffer, sizeof(uint32_t), 8, stream) return?
The number of complete uint32_t elements read, from 0 through 8.
The number of bytes read, from 0 through 32.
EOF when the stream contains fewer than eight elements.
Exactly 8 unless the program has undefined behavior.
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload