1. In C, which library is used for file operations such as reading and writing files?
2. Which function is used to open a file in C for writing?
3. What does 'FILE' represent in C when working with files?
4. How do you check if a file was opened successfully in C?
5. Which function is used to write data to a file in C?
6. What is the difference between 'r' and 'w' modes when opening a file in C?
7. How do you read a character from a file in C?
8. What is the purpose of the 'fprintf' function in C?
9. Which function is used to close a file in C?
10. In C, what is the function of the 'feof' function?
Read More Section(File Input Output)
Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.