Sail E0 Webinar
Question
What is the difference between stat() and fstat()?
Options:
A .  fstat() has nothing to do with files
B .  fstat() is an alias of stat()
C .  stat() has nothing to do with files
D .  While fstat() works on open file pointers, stat() works on files specified by pathname
E .  While stat() works on open file pointers, fstat() works on files specified by pathname
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers