File Access Modes Flashcards
1
Q
Opens a file for reading only
A
r
2
Q
Opens a file in binary format
A
b
3
Q
Opens a file for appending; if the file does not exist, it creates a new file
A
a
4
Q
Opens a file for writing only and overwrites the existing file
A
w
5
Q
Adds a read or write operation depending on the one selected
A
+