Question: You are at a job interview and are given the following question. Please answer it in one paragraph. We maintain a directory of content for
You are at a job interview and are given the following question. Please answer it in one paragraph.
"We maintain a directory of content for each of our clients. Each client's content is stored in large files (1 to 10 MB). We have reserved the first 16 bytes of each file to be a content tag. One of our operations is to read the content flags for all of the files in a directory. Please evaluate whether to use fread() or read() to read each content tag."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
