Skip to content
Related Articles

Related Articles

C | File Handling | Question 5
  • Last Updated : 27 Mar, 2014

fseek() should be preferred over rewind() mainly because
(A) rewind() doesn’t work for empty files
(B) rewind() may fail for large files
(C) In rewind, there is no way to check if the operations completed successfully
(D) All of the above


Answer: (C)

Explanation: Please see fseek() vs rewind() in C

Quiz of this Question

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :