Which of the following modes is used for both writing and reading from a binary file?
wb+
Reason — 'wb+' mode is used for both writing and reading from a binary file.