1.

The file table contains _________(a) mode of opening(b) status flags(c) offset pointer, reference count(d) mode of opening, status flags, offset printer and reference countThis question was posed to me in an online interview.Enquiry is from File handling System Calls in section System Programming I – Files of Unix

Answer»

Correct answer is (d) mode of opening, STATUS flags, offset printer and REFERENCE count

Easy EXPLANATION: Every entry in the FILE descriptor table points to a file table. This table contains all the data which is RELEVANT to an opened file.



Discussion

No Comment Found

Related InterviewSolutions