Match each of the os.OpenFile() flags with the correct definition.
Working with files
Match the flag definitions
Report a typo
Match the items from left and right columns
os.O_CREATEos.O_RDWRos.O_WRONLYos.O_APPENDos.O_RDONLYOpens the file in the read-and-write mode
Opens the file in the read-only mode
Opens the file in the write-only mode
Creates a new file if it doesn't exist
Adds data to the end of the file
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.