Problem Statement
What are some of the flags used in file read/write operations?
Explanation
Common file system flags include: 'r' for read, 'w' for write, 'a' for append, 'r+' for read/write, and 'wx' for write only if the file doesn’t already exist.