Assertion (A): When a file is opened in read mode (< r >), the file offset position is set to the end of the file.
Reason (R): The primary purpose of read mode is to start reading from the existing end of the file content.
Choose the most appropriate option:
1
(A) is true, (R) is true, and (R) is the correct explanation of (A).
2
(A) is true, (R) is false, but (R) is related to (A).
3
(A) is false, (R) is true.
4
(A) is false, (R) is false.