Which of the following mode opens file for reading?Select one:a+wra
Question
Which of the following mode opens file for reading?Select one:a+wra
Solution
The mode that opens a file for reading is "r". So, the correct answer is "r".
Similar Questions
Which of these statements about the mode parameter, used when opening a text file, is false?Select one:a."a" : open the file for appending.b."r+" : open the file for reading and writing.c."w" : opens the file for reading and writingd."r" : open the file for reading.
What is the oflag used to open a file with the mode read only?O_WRONLYO_RDONLYO_RDWR
Which of the following is not a file opening mode_________________?
With an example,explain the different modes of opening a file
Which of the following opens the file associated with the stream?Select one:Fopen;None of thesefopen();open();
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.