Skip to content
Related Articles

Related Articles

C | File Handling | Question 5

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 28 Jun, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!