After opening a file in 'w+' mode, what happens if you immediately start reading the file before writing any data?
1
The file will contain the data previously stored before it was opened.
2
An error occurs because the file is empty.
3
The reading operation will return an empty string indicating the file is currently empty.
4
The read operation resets the file pointer to the beginning of the file automatically.