L Lan Anh New member Sep 19, 2021 #1 Which of the following mode is used for opening a file in both reading and writing? A. O_RDONLY B. O_WRONLY C. O_RDWR D. O_WDR
Which of the following mode is used for opening a file in both reading and writing? A. O_RDONLY B. O_WRONLY C. O_RDWR D. O_WDR
M Man Ly New member Sep 19, 2021 #2 Answer: c Explanation: There are three modes of opening a file namely: Code: O_RDONLY - opens files for reading O_WRONLY - opens file for writing O_RDWR - opens file for reading and writing Upvote 0 Downvote
Answer: c Explanation: There are three modes of opening a file namely: Code: O_RDONLY - opens files for reading O_WRONLY - opens file for writing O_RDWR - opens file for reading and writing