21. Which function is used to write a character to a file in C?
22. What happens if you try to open a file in 'r' mode that doesn't exist in C?
23. How do you read a string from a file in C?
24. What does the 'remove' function in C do?
25. In C, what is the purpose of the 'fflush' function?
26. Which function is used to create a new directory in C?
27. How do you write an integer to a file in C?
28. What is the return value of 'putc' if it fails to write a character to a file in C?
29. Which function is used to read and write data in binary mode in C?
30. What is the purpose of the 'fileno' function in C?
Read More Section(File Input Output)
Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.