🎴 Flashcard Mode
C Language
Card1 / 11
Mastered0
Review0
QuestionClick to flip
Which one of the following is valid for opening a read-only ASCII file?
AnswerClick to flip back
A
fopen (filenm, "r")
💡 Explanation:
In C, the standard library function to open a file is fopen. The mode 'r' is used to open a file for reading in text mode.