C | File Handling | Question 5

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