Which of the following is not a proper file access mode?
close
read
write
append
Answers
Answered by
5
Answer:
Explanation:
Use r+, w+ or a+ to perform both read and write operations using a single file object.
Answered by
2
Answer:
a) close
Explanation:
read(), write() and append() will open the specified file for accessing (reading, writing or appending) but the close() method will close the open file which means we cannot read or write anymore. Therefore, close() is not the proper file accessing mode.
Similar questions